UNPKG

ctan

Version:

CTAN (Comprehensive TeX Archive Network) API client for Node.js

24 lines (23 loc) 733 B
import { Package as PackageV1_3 } from "../v1_3/schemas.js"; export const PackageAlias = { type: 'object', properties: { id: { type: 'string' }, name: { type: 'string' } }, required: ["id", "name"], additionalProperties: true, }; export const Package = { type: 'object', allOf: [PackageV1_3, { properties: { aliases: { type: 'array', items: PackageAlias, nullable: true }, }, }], required: ["id", "name", "caption", "authors", "documentation"], }; export const ApiVersion = { type: 'object', properties: { version: { type: 'string', const: '2.0' } }, required: ["version"], additionalProperties: true, }; export * from "../v1_3/schemas.js";