@agentique.io/schemas 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/context-bundle.schema.json +132 -0
- package/distribution-mode.schema.json +19 -0
- package/fixtures/schema-fixtures.json +588 -0
- package/fixtures/valid/resource-package.json +42 -0
- package/output-contract.schema.json +86 -0
- package/package-manifest.schema.json +35 -0
- package/package.json +20 -0
- package/permission-risk.schema.json +108 -0
- package/public-readback.schema.json +75 -0
- package/resource-manifest.schema.json +57 -0
- package/skill-metadata.schema.json +42 -0
- package/surfacing-metadata.schema.json +109 -0
- package/tool-listing.schema.json +47 -0
- package/workflow-metadata.schema.json +43 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/output-contract.schema.json",
|
|
4
|
+
"title": "Agentique Public Output Contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["inputSchema", "outputSchema", "maxOutputBytes", "timeoutMs", "errorBehavior", "redaction"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"inputSchema": {
|
|
10
|
+
"$ref": "#/$defs/jsonSchemaObject"
|
|
11
|
+
},
|
|
12
|
+
"outputSchema": {
|
|
13
|
+
"$ref": "#/$defs/jsonSchemaObject"
|
|
14
|
+
},
|
|
15
|
+
"structuredContent": {
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
},
|
|
18
|
+
"unstructuredFallback": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": ["none", "summary", "public-text"]
|
|
21
|
+
},
|
|
22
|
+
"maxOutputBytes": {
|
|
23
|
+
"type": "integer",
|
|
24
|
+
"minimum": 256,
|
|
25
|
+
"maximum": 262144
|
|
26
|
+
},
|
|
27
|
+
"timeoutMs": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 100,
|
|
30
|
+
"maximum": 300000
|
|
31
|
+
},
|
|
32
|
+
"limitHints": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"properties": {
|
|
36
|
+
"maxItems": {
|
|
37
|
+
"type": "integer",
|
|
38
|
+
"minimum": 1,
|
|
39
|
+
"maximum": 1000
|
|
40
|
+
},
|
|
41
|
+
"maxRequests": {
|
|
42
|
+
"type": "integer",
|
|
43
|
+
"minimum": 1,
|
|
44
|
+
"maximum": 100
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"errorBehavior": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": ["typed-error", "empty-result", "partial-result"]
|
|
51
|
+
},
|
|
52
|
+
"redaction": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"additionalProperties": false,
|
|
55
|
+
"required": ["secrets", "privateFields"],
|
|
56
|
+
"properties": {
|
|
57
|
+
"secrets": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"const": true
|
|
60
|
+
},
|
|
61
|
+
"privateFields": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"const": true
|
|
64
|
+
},
|
|
65
|
+
"notes": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 12,
|
|
68
|
+
"maxLength": 240
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"$defs": {
|
|
74
|
+
"jsonSchemaObject": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": true,
|
|
77
|
+
"required": ["type"],
|
|
78
|
+
"properties": {
|
|
79
|
+
"type": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": ["object", "array", "string", "number", "integer", "boolean"]
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/package-manifest.schema.json",
|
|
4
|
+
"title": "Agentique Public Package Manifest",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["formatVersion", "files", "hashes"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"formatVersion": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "1.0"
|
|
12
|
+
},
|
|
13
|
+
"files": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"minItems": 1,
|
|
16
|
+
"maxItems": 200,
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*(?:^|/)\\.env(?:/|$))(?!.*(?:^|/)\\.git(?:/|$))(?!.*(?:^|/)\\.cache(?:/|$))(?!.*(?:^|/)node_modules(?:/|$))(?!.*(?:^|/)private(?:/|$))(?!.*\\.\\.)(?!.*[\\\\]).{1,160}$"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"hashes": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
27
|
+
},
|
|
28
|
+
"propertyNames": {
|
|
29
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*(?:^|/)\\.env(?:/|$))(?!.*(?:^|/)\\.git(?:/|$))(?!.*(?:^|/)\\.cache(?:/|$))(?!.*(?:^|/)node_modules(?:/|$))(?!.*(?:^|/)private(?:/|$))(?!.*\\.\\.)(?!.*[\\\\]).{1,160}$"
|
|
30
|
+
},
|
|
31
|
+
"minProperties": 1,
|
|
32
|
+
"maxProperties": 200
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agentique.io/schemas",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Public JSON Schema contracts for Agentique resource preparation.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/rookiestar28/Agentique.git",
|
|
10
|
+
"directory": "schemas"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public",
|
|
14
|
+
"provenance": true
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"*.schema.json",
|
|
18
|
+
"fixtures"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/permission-risk.schema.json",
|
|
4
|
+
"title": "Agentique Public Permission And Risk Declaration",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["readOnly", "destructive", "openWorld", "approvalRequired", "dataSensitivity"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"readOnly": {
|
|
10
|
+
"type": "boolean"
|
|
11
|
+
},
|
|
12
|
+
"destructive": {
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
},
|
|
15
|
+
"idempotent": {
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
},
|
|
18
|
+
"openWorld": {
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"externalNetwork": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"credentialed": {
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
},
|
|
27
|
+
"approvalRequired": {
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
},
|
|
30
|
+
"dataSensitivity": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["public", "user-provided", "sensitive", "unknown"]
|
|
33
|
+
},
|
|
34
|
+
"capabilities": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"maxItems": 12,
|
|
37
|
+
"uniqueItems": true,
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": [
|
|
41
|
+
"read-public-content",
|
|
42
|
+
"read-user-provided-content",
|
|
43
|
+
"external-network",
|
|
44
|
+
"credential-use",
|
|
45
|
+
"upload",
|
|
46
|
+
"download",
|
|
47
|
+
"filesystem-read",
|
|
48
|
+
"filesystem-write",
|
|
49
|
+
"state-mutation",
|
|
50
|
+
"human-approval"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"reviewNotes": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"minLength": 12,
|
|
57
|
+
"maxLength": 400
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"allOf": [
|
|
61
|
+
{
|
|
62
|
+
"if": {
|
|
63
|
+
"properties": {
|
|
64
|
+
"destructive": {
|
|
65
|
+
"const": true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": ["destructive"]
|
|
69
|
+
},
|
|
70
|
+
"then": {
|
|
71
|
+
"properties": {
|
|
72
|
+
"approvalRequired": {
|
|
73
|
+
"const": true
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"if": {
|
|
80
|
+
"anyOf": [
|
|
81
|
+
{
|
|
82
|
+
"properties": {
|
|
83
|
+
"credentialed": {
|
|
84
|
+
"const": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"required": ["credentialed"]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"properties": {
|
|
91
|
+
"dataSensitivity": {
|
|
92
|
+
"enum": ["sensitive", "unknown"]
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": ["dataSensitivity"]
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"then": {
|
|
100
|
+
"properties": {
|
|
101
|
+
"approvalRequired": {
|
|
102
|
+
"const": true
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/public-readback.schema.json",
|
|
4
|
+
"title": "Agentique Public Readback Projection",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["resourceId", "state", "updatedAt", "platformUrl"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"resourceId": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^[a-z0-9][a-z0-9-]{1,80}$"
|
|
12
|
+
},
|
|
13
|
+
"state": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["draft", "review_required", "published", "blocked", "unavailable", "stale"]
|
|
16
|
+
},
|
|
17
|
+
"updatedAt": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "date-time"
|
|
20
|
+
},
|
|
21
|
+
"platformUrl": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "uri",
|
|
24
|
+
"pattern": "^https://agentique\\.io/"
|
|
25
|
+
},
|
|
26
|
+
"message": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1,
|
|
29
|
+
"maxLength": 240
|
|
30
|
+
},
|
|
31
|
+
"internalId": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1,
|
|
34
|
+
"maxLength": 120
|
|
35
|
+
},
|
|
36
|
+
"storageUsage": {
|
|
37
|
+
"oneOf": [
|
|
38
|
+
{
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": {
|
|
41
|
+
"anyOf": [
|
|
42
|
+
{ "type": "number" },
|
|
43
|
+
{ "type": "integer" },
|
|
44
|
+
{ "type": "string" },
|
|
45
|
+
{ "type": "boolean" },
|
|
46
|
+
{ "type": "null" }
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "number",
|
|
52
|
+
"minimum": 0
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"deploymentDate": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"format": "date-time"
|
|
59
|
+
},
|
|
60
|
+
"tokenCount": {
|
|
61
|
+
"type": "integer",
|
|
62
|
+
"minimum": 0
|
|
63
|
+
},
|
|
64
|
+
"objectType": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1,
|
|
67
|
+
"maxLength": 80
|
|
68
|
+
},
|
|
69
|
+
"storageMode": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"minLength": 1,
|
|
72
|
+
"maxLength": 80
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/resource-manifest.schema.json",
|
|
4
|
+
"title": "Agentique Public Resource Manifest",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["formatVersion", "name", "summary", "source", "distribution", "package"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"formatVersion": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "1.0"
|
|
12
|
+
},
|
|
13
|
+
"name": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
|
|
16
|
+
},
|
|
17
|
+
"summary": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 12,
|
|
20
|
+
"maxLength": 240
|
|
21
|
+
},
|
|
22
|
+
"source": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": ["type", "url"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"type": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": ["git", "website", "package"]
|
|
30
|
+
},
|
|
31
|
+
"url": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"format": "uri",
|
|
34
|
+
"pattern": "^https://"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"distribution": {
|
|
39
|
+
"$ref": "https://schemas.agentique.io/distribution-mode.schema.json"
|
|
40
|
+
},
|
|
41
|
+
"package": {
|
|
42
|
+
"$ref": "https://schemas.agentique.io/package-manifest.schema.json"
|
|
43
|
+
},
|
|
44
|
+
"skill": {
|
|
45
|
+
"$ref": "https://schemas.agentique.io/skill-metadata.schema.json"
|
|
46
|
+
},
|
|
47
|
+
"workflow": {
|
|
48
|
+
"$ref": "https://schemas.agentique.io/workflow-metadata.schema.json"
|
|
49
|
+
},
|
|
50
|
+
"surfacing": {
|
|
51
|
+
"$ref": "https://schemas.agentique.io/surfacing-metadata.schema.json"
|
|
52
|
+
},
|
|
53
|
+
"permissionRisk": {
|
|
54
|
+
"$ref": "https://schemas.agentique.io/permission-risk.schema.json"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/skill-metadata.schema.json",
|
|
4
|
+
"title": "Agentique Public Skill Metadata",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["name", "summary", "inputs", "outputs"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
|
|
12
|
+
},
|
|
13
|
+
"summary": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 12,
|
|
16
|
+
"maxLength": 240
|
|
17
|
+
},
|
|
18
|
+
"inputs": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"minItems": 1,
|
|
21
|
+
"maxItems": 20,
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"maxLength": 80
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"outputs": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"minItems": 1,
|
|
31
|
+
"maxItems": 20,
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"minLength": 1,
|
|
35
|
+
"maxLength": 80
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"outputContract": {
|
|
39
|
+
"$ref": "https://schemas.agentique.io/output-contract.schema.json"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/surfacing-metadata.schema.json",
|
|
4
|
+
"title": "Agentique Public Surfacing Metadata",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["taskIntents", "audience", "priority", "contextBudget"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"taskIntents": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"minItems": 1,
|
|
12
|
+
"maxItems": 8,
|
|
13
|
+
"uniqueItems": true,
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 3,
|
|
17
|
+
"maxLength": 48,
|
|
18
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"audience": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"minItems": 1,
|
|
24
|
+
"maxItems": 6,
|
|
25
|
+
"uniqueItems": true,
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": ["agent", "human", "developer", "reviewer", "integrator"]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"priority": {
|
|
32
|
+
"type": "number",
|
|
33
|
+
"minimum": 0,
|
|
34
|
+
"maximum": 1,
|
|
35
|
+
"multipleOf": 0.01
|
|
36
|
+
},
|
|
37
|
+
"recency": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"additionalProperties": false,
|
|
40
|
+
"required": ["lastReviewedAt"],
|
|
41
|
+
"properties": {
|
|
42
|
+
"lastReviewedAt": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "date-time"
|
|
45
|
+
},
|
|
46
|
+
"reviewCadenceDays": {
|
|
47
|
+
"type": "integer",
|
|
48
|
+
"minimum": 1,
|
|
49
|
+
"maximum": 365
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"compatibility": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"additionalProperties": false,
|
|
56
|
+
"properties": {
|
|
57
|
+
"runtimeFamilies": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"maxItems": 8,
|
|
60
|
+
"uniqueItems": true,
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"minLength": 2,
|
|
64
|
+
"maxLength": 40,
|
|
65
|
+
"pattern": "^[a-z0-9][a-z0-9.+-]*$"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"protocols": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"maxItems": 8,
|
|
71
|
+
"uniqueItems": true,
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"minLength": 2,
|
|
75
|
+
"maxLength": 40,
|
|
76
|
+
"pattern": "^[a-z0-9][a-z0-9.+-]*$"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"contextBudget": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"required": ["maxTokens", "maxBytes"],
|
|
85
|
+
"properties": {
|
|
86
|
+
"maxTokens": {
|
|
87
|
+
"type": "integer",
|
|
88
|
+
"minimum": 128,
|
|
89
|
+
"maximum": 32000
|
|
90
|
+
},
|
|
91
|
+
"maxBytes": {
|
|
92
|
+
"type": "integer",
|
|
93
|
+
"minimum": 1024,
|
|
94
|
+
"maximum": 262144
|
|
95
|
+
},
|
|
96
|
+
"preferredSummaryBytes": {
|
|
97
|
+
"type": "integer",
|
|
98
|
+
"minimum": 256,
|
|
99
|
+
"maximum": 32768
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"notes": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"minLength": 12,
|
|
106
|
+
"maxLength": 400
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/tool-listing.schema.json",
|
|
4
|
+
"title": "Agentique Public Tool Listing",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["name", "summary", "capabilities", "permissionRisk", "outputContract", "documentationUrl"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
|
|
12
|
+
},
|
|
13
|
+
"summary": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 12,
|
|
16
|
+
"maxLength": 240
|
|
17
|
+
},
|
|
18
|
+
"capabilities": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"minItems": 1,
|
|
21
|
+
"maxItems": 20,
|
|
22
|
+
"uniqueItems": true,
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 2,
|
|
26
|
+
"maxLength": 48,
|
|
27
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"permissionRisk": {
|
|
31
|
+
"$ref": "https://schemas.agentique.io/permission-risk.schema.json"
|
|
32
|
+
},
|
|
33
|
+
"outputContract": {
|
|
34
|
+
"$ref": "https://schemas.agentique.io/output-contract.schema.json"
|
|
35
|
+
},
|
|
36
|
+
"supportUrl": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"format": "uri",
|
|
39
|
+
"pattern": "^https://"
|
|
40
|
+
},
|
|
41
|
+
"documentationUrl": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"format": "uri",
|
|
44
|
+
"pattern": "^https://"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agentique.io/workflow-metadata.schema.json",
|
|
4
|
+
"title": "Agentique Public Workflow Metadata",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["name", "summary", "steps"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
|
|
12
|
+
},
|
|
13
|
+
"summary": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 12,
|
|
16
|
+
"maxLength": 240
|
|
17
|
+
},
|
|
18
|
+
"steps": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"minItems": 1,
|
|
21
|
+
"maxItems": 40,
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": ["id", "description"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"id": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
|
|
30
|
+
},
|
|
31
|
+
"description": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 8,
|
|
34
|
+
"maxLength": 240
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"outputContract": {
|
|
40
|
+
"$ref": "https://schemas.agentique.io/output-contract.schema.json"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|