{"_id":"@aeo-kit/schema","_rev":"2-8b9b0377735ec4467c33cc74b5f4da4d","name":"@aeo-kit/schema","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"@aeo-kit/schema","version":"0.1.1","license":"Apache-2.0","_id":"@aeo-kit/schema@0.1.1","maintainers":[{"name":"naguipinetta","email":"naguipinetta@gmail.com"}],"homepage":"https://github.com/NaguiPinetta/aeo-kit","bugs":{"url":"https://github.com/NaguiPinetta/aeo-kit/issues"},"dist":{"shasum":"e83f2039a3b7a0d16afd93835963c71e391e5570","tarball":"https://registry.npmjs.org/@aeo-kit/schema/-/schema-0.1.1.tgz","fileCount":8,"integrity":"sha512-fR/bEUX0MxRssS/oQBxiqkXZKhfoQ5ocl8tQnNEoVAlHbXpUj3U6PgQ4eghE7jrjNKQiMfKGjh0TPTjy14HGJw==","signatures":[{"sig":"MEQCIDtxSo25fduNKmWh93Hrg5qqQWxYr04Q0Iota/GMbwYsAiB+bNbSwmjCoB3cAeq5G5TUKlmjIKLCInrHPZl4xYdgqg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17179},"type":"module","exports":{"./package.json":"./package.json","./src/*.schema.json":"./src/*.schema.json"},"gitHead":"6526b1371bce0c56f6962a443513c81c151e7ec9","scripts":{"validate":"node validate.mjs"},"_npmUser":{"name":"naguipinetta","email":"naguipinetta@gmail.com"},"repository":{"url":"git+https://github.com/NaguiPinetta/aeo-kit.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.2","description":"JSON Schema definitions and validation for AEO manifests.","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8","ajv-formats":"^3"},"_npmOperationalInternal":{"tmp":"tmp/schema_0.1.1_1771537628498_0.6890927469566268","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aeo-kit/schema","version":"0.1.2","type":"module","description":"JSON Schema definitions and validation for AEO manifests.","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/NaguiPinetta/aeo-kit.git","directory":"packages/schema"},"homepage":"https://github.com/NaguiPinetta/aeo-kit","bugs":{"url":"https://github.com/NaguiPinetta/aeo-kit/issues"},"publishConfig":{"access":"public"},"exports":{"./package.json":"./package.json","./src/*.schema.json":"./src/*.schema.json"},"scripts":{"validate":"node validate.mjs"},"devDependencies":{"ajv":"^8","ajv-formats":"^3"},"_id":"@aeo-kit/schema@0.1.2","gitHead":"e31c9ad9a716d608cfa33f590f284a1954716005","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Z+wFjdVISpNiDctnnKU0Uv+HZ4v6iG0/7v0+6ytXBRV5Db7Jvk9Nfs56b9rjOgU10OVkoMwqm65tBKvp0QS9RA==","shasum":"0e27a4e42671bd4ae84314645f5639e1f47f118b","tarball":"https://registry.npmjs.org/@aeo-kit/schema/-/schema-0.1.2.tgz","fileCount":8,"unpackedSize":17785,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHevFYlewvVnLyWMJNGc5Rg497psapHcPMI/zFEUH7AQAiEA5YAAreKTrBy2SPnqktn8SSUTwFy10UiTLsv5kl59P4g="}]},"_npmUser":{"name":"naguipinetta","email":"naguipinetta@gmail.com"},"directories":{},"maintainers":[{"name":"naguipinetta","email":"naguipinetta@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.2_1771586214410_0.055253489838024805"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-19T21:47:08.401Z","modified":"2026-02-20T11:16:54.706Z","0.1.1":"2026-02-19T21:47:08.640Z","0.1.2":"2026-02-20T11:16:54.567Z"},"bugs":{"url":"https://github.com/NaguiPinetta/aeo-kit/issues"},"license":"Apache-2.0","homepage":"https://github.com/NaguiPinetta/aeo-kit","repository":{"type":"git","url":"git+https://github.com/NaguiPinetta/aeo-kit.git","directory":"packages/schema"},"description":"JSON Schema definitions and validation for AEO manifests.","maintainers":[{"name":"naguipinetta","email":"naguipinetta@gmail.com"}],"readme":"# @aeo-kit/schema\n\nJSON Schema definitions for the **AEO manifest format** — the machine-readable\nfile that declares which tools an AI agent can use, under what intents, with\nwhat trust boundaries, and how to test them.\n\n## Schemas\n\n| File | Purpose |\n|---|---|\n| `src/index.schema.json` | Root manifest — ties everything together |\n| `src/tools.schema.json` | Tool / endpoint declarations |\n| `src/intents.schema.json` | Agent intent & workflow guardrails |\n| `src/trust.schema.json` | Trust levels, auth, and consumer ACLs |\n| `src/provenance.schema.json` | Origin, audit trail, and integrity hashes |\n| `src/tests.schema.json` | Inline test cases with assertions |\n\nAll schemas use **JSON Schema draft 2020-12** and reference each other via\nrelative `$ref` URIs.\n\n## Fixtures\n\nThe `fixtures/` directory contains example manifests used for validation tests:\n\n- **`fixtures/valid/`** — documents that **must** pass validation.\n  - `minimal.json` — smallest possible valid manifest.\n  - `full.json` — manifest exercising every optional field.\n- **`fixtures/invalid/`** — documents that **must** fail validation.\n  - `missing-required-fields.json` — omits all required root properties.\n  - `bad-tool-id.json` — tool id violates the naming pattern.\n  - `empty-tools.json` — `tools` array is empty (`minItems: 1`).\n  - `bad-version.json` — `version` and `aeo` fail pattern checks.\n  - `extra-properties.json` — unknown property blocked by `additionalProperties: false`.\n\n## Quick reference\n\nA minimal AEO manifest looks like this:\n\n```json\n{\n  \"aeo\": \"0.5\",\n  \"name\": \"my-service\",\n  \"version\": \"1.0.0\",\n  \"tools\": [\n    {\n      \"id\": \"get-item\",\n      \"description\": \"Fetch an item by ID.\"\n    }\n  ]\n}\n```\n\n## Spec version\n\nThese schemas target **AEO spec 0.1** (unstable). Fields and structure will\nevolve as the spec matures.\n","readmeFilename":"README.md"}