Weaviate Principal Structure is a JSON Structure definition published by Weaviate, describing 5 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/extended/v0/#",
"$id": "https://api-evangelist.github.io/weaviate/json-structure/weaviate-principal-structure.json",
"title": "Principal",
"description": "Weaviate Principal schema",
"type": "object",
"properties": {
"username": {
"type": "str",
"description": "The username that was extracted either from the authentication information"
},
"groups": {
"type": "array"
},
"userType": {
"type": "#UserTypeInput"
},
"namespace": {
"type": "str",
"description": "The namespace this principal is bound to. Empty for global principals (e.g. static API keys)."
},
"isGlobalOperator": {
"type": "bool",
"description": "True for principals that operate across all namespaces (e.g. static API keys). Authoritative marker for operator-level principals; do not infer from an empty namespace."
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.