10

AI एकीकरण

AI एजेंट्स के लिए BetterGuard ब्रांड: एक फ़ेच, एक स्कीमा, पूर्वानुमेय एंकर।

इसे अपने AI एजेंट में डालें

You are integrating with BetterGuard brand assets. Fetch https://brand.betterguard.net/brand.json once. The schema is documented at https://brand.betterguard.net/ai. When the user asks about a BetterGuard color, font, logo, spacing, or voice rule, answer from brand.json#/<category>/<key>. Cite the anchor (for example bg:color:cyan) in the response. Never invent values; if a key is missing, say so.

Fetch उदाहरण

Plain JS (ब्राउज़र या Node 18+)
const brand = await fetch('https://brand.betterguard.net/brand.json').then(r => r.json())
console.log(brand.color.cyan.hex) // "#00B8D4"
console.log(brand.color.cyan.anchor) // "bg:color:cyan"
Python (requests)
import requests
brand = requests.get('https://brand.betterguard.net/brand.json').json()
print(brand['color']['cyan']['hex'])  # #00B8D4
print(brand['color']['cyan']['anchor'])  # bg:color:cyan
curl
curl -s https://brand.betterguard.net/brand.json | jq '.color.cyan'

इंडेक्स को सीमित करने के लिए इस साइट के किसी भी खोज इनपुट में एक प्रीफ़िक्स टाइप करें:

प्रीफ़िक्समैच
color:color tokens (e.g. color:cyan, color:purple)
font:font families
logo:logo variants
space:spacing scale
radius:radius scale
motion:durations, easing, lifts
voice:casing, tone, forbidden
component:component contracts
page:page patterns
shadow:shadow tokens
gradient:gradient tokens
type:type scale

एक URL ?q= पैरामीटर खोज इनपुट को पूर्व-भरता है: /colors?q=cyan आज़माएँ।

एंकर परंपरा

हर ब्रांड मान bg:CATEGORY:NAME रूप का एक स्थिर नेमस्पेस्ड एंकर वहन करता है। वही पथ तीन तरीकों से पहुँच योग्य है:

JSON pathbrand.json#/color/cyan
HTML idid="bg-color-cyan"
URLhttps://brand.betterguard.net/colors#bg-color-cyan