主题
agent
Generated reference page for
spec/v1/schemas/resources/agent.json.
Metadata
- Type: JSON Schema
- Source:
spec/v1/schemas/resources/agent.json - Raw: View Raw
Summary
- Schema ID: https://agent-service.spec/v1/schemas/resources/agent.json
- Defs: 0
- Properties: 12
- Required: 6
Source
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agent-service.spec/v1/schemas/resources/agent.json",
"type": "object",
"additionalProperties": false,
"required": ["agentId", "orgId", "executionProfile", "enabled", "createdAt", "updatedAt"],
"properties": {
"agentId": {
"$ref": "../common/identity.json#/$defs/agentId"
},
"orgId": {
"$ref": "../common/identity.json#/$defs/orgId"
},
"card": {
"type": "object",
"additionalProperties": true
},
"executionProfile": {
"$ref": "../common/execution-profile.json#/$defs/ExecutionProfile"
},
"secretRefs": {
"type": "array",
"items": {
"$ref": "../common/execution-profile.json#/$defs/SecretRef"
}
},
"grayscaleRules": {
"type": "array",
"items": {
"$ref": "../common/execution-profile.json#/$defs/GrayscaleRule"
}
},
"enabled": {
"type": "boolean"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"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"
}
}
}