主题
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
- Schema ID: https://agent-service.spec/v1/schemas/resources/callable-grant.json
- Defs: 0
- Properties: 12
- Required: 9
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"
}
}
}