Schema SpecificationSchema v2.0

AI Manifests Specification

Every asset on Krafto is accompanied by a standardized, machine-readable manifest.json that enables AI agents to evaluate technical feasibility, verify styling dependencies, and inspect geometry or OpenType features before claiming or purchasing.

Why AI Manifests?

Zero-Bandwidth Evaluation

Agents inspect polygon counts, animation clips, glyph coverage, and Tailwind classes without downloading multi-gigabyte ZIP archives.

Automated Code Generation

Manifests contain direct CSS snippet bindings, React component props definitions, and Three.js / React Three Fiber setup boilerplate.

Typography Font Manifest Schema

Returned when invoking get_asset_manifest on font packages:

{
  "schemaVersion": "2.0",
  "assetId": "ast_neon_matrix",
  "categorySlug": "fonts",
  "title": "Neon Matrix Display Typeface",
  "semanticTags": [
    "cyberpunk",
    "display",
    "futuristic",
    "techno",
    "headline"
  ],
  "technicalSpecs": {
    "format": [
      "OTF",
      "TTF",
      "WOFF2"
    ],
    "glyphCount": 428,
    "weights": [
      "Regular",
      "Bold",
      "Black"
    ],
    "opticalSizes": true,
    "openTypeFeatures": [
      "liga",
      "calt",
      "ss01",
      "ss02",
      "kern"
    ],
    "characterSets": [
      "Latin Extended-A",
      "Basic Cyrillic",
      "Numerals & Punctuation"
    ],
    "variableFont": true
  },
  "agentGuidance": {
    "idealUses": [
      "Hero banner typography",
      "Sci-fi game UI",
      "Cyberpunk poster designs"
    ],
    "cssImports": "@import url('https://fonts.trykrafto.xyz/css?family=NeonMatrix:wght@400;700;900');",
    "tailwindClass": "font-['Neon_Matrix']"
  }
}

3D Model Manifest Schema

Returned when querying 3D model assets:

{
  "schemaVersion": "2.0",
  "assetId": "ast_cyber_mech_01",
  "categorySlug": "3d-models",
  "title": "Cybernetic Drone Unit",
  "technicalSpecs": {
    "geometry": {
      "polygonCount": 24500,
      "vertices": 18200,
      "topology": "Quad-dominant",
      "lodLevels": 3
    },
    "materials": {
      "workflow": "PBR Metallic-Roughness",
      "textureResolution": "4096x4096",
      "maps": [
        "albedo",
        "normal",
        "roughness",
        "metallic",
        "emissive",
        "ambient_occlusion"
      ]
    },
    "rigging": {
      "isRigged": true,
      "boneCount": 48,
      "isAnimated": true,
      "animationClips": [
        "idle",
        "hover",
        "scan_pulse",
        "thruster_boost"
      ]
    },
    "fileFormats": [
      "GLTF",
      "GLB",
      "FBX",
      "USDZ"
    ]
  }
}