Skip to content

callable-grant

Generated reference page for spec/v1/schemas/resources/callable-grant.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/resources/callable-grant.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/resources/callable-grant.json",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "grantId",
    "providerOrgId",
    "consumerOrgId",
    "resourceType",
    "resourceId",
    "releaseChannelId",
    "enabled",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "grantId": {
      "$ref": "../common/identity.json#/$defs/callableGrantId"
    },
    "providerOrgId": {
      "$ref": "../common/identity.json#/$defs/orgId"
    },
    "consumerOrgId": {
      "$ref": "../common/identity.json#/$defs/orgId"
    },
    "resourceType": {
      "$ref": "../common/enums.json#/$defs/taskResourceType"
    },
    "resourceId": {
      "$ref": "../common/identity.json#/$defs/opaqueId"
    },
    "releaseChannelId": {
      "$ref": "../common/identity.json#/$defs/releaseChannelId"
    },
    "enabled": {
      "type": "boolean"
    },
    "visibilityScopes": {
      "type": "array",
      "items": {
        "$ref": "../common/enums.json#/$defs/callableGrantVisibilityScope"
      }
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "createdAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "updatedAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "version": {
      "$ref": "../common/identity.json#/$defs/version"
    }
  }
}

白皮书与规范内容以仓库真源为准。