Skip to content

File Structures and Schemas Fresh

File Structure Reference

Level 1 (Crawl-Ready)

website.com/
├── robots.txt                      # Block AI from main site
├── sitemap.xml                     # Standard sitemap
├── ai-discovery/
│   └── index.html                  # AI Discovery Page
└── [pages with Schema.org markup]

Level 2 (Ingest-Ready)

website.com/
├── robots.txt
├── sitemap.xml
├── .well-known/
│   └── llm-index.json              # Primary AI index
├── ai-discovery/
│   └── index.html
└── [pages with Schema.org markup]

ai.website.com/
├── robots.txt                      # Allow AI crawlers
├── sitemap.xml
├── llms.txt                        # Plain-text manifest
├── .well-known/
│   └── llm-index.json
├── entities.json
├── knowledge-graph.json
└── [AI-optimized pages]

Level 3 (Agent-Ready)

Adds to Level 2:

.well-known/
└── llm-index.json                  # Now includes actions with endpoints
api/
└── availability.json               # Real-time agent endpoints

llm-index.json Complete Schema

Root Properties

PropertyTypeLevel RequiredDescription
@contextArray2+MUST include "https://schema.org" and "https://llmld.org/v1"
@typeString2+MUST be "llmld:AIWebsite"
@idURL2+Canonical URL of this file
llmld:metaObject2+Document metadata
llmld:siteObject2+Site identity
llmld:primaryEntityObject2+Main entity reference
llmld:summaryObject2+Condensed overview for AI
llmld:pagesArray2+Structured sitemap
llmld:actionsObject3 req / 2 recAvailable actions
llmld:contactObject2+Contact information
llmld:productsArrayOptionalProducts/software
llmld:servicesArrayOptionalServices offered
llmld:peopleArrayOptionalTeam members
llmld:locationsArrayOptionalPhysical locations
llmld:faqArrayOptionalFAQs
llmld:verificationObjectOptionalVerification status
llmld:pointersObjectOptionalLinks to Layer 2 files

llmld:meta Properties

PropertyTypeRequiredDescription
versionStringYes"1.0"
generatedISO 8601YesTimestamp of generation
generatorStringNoSoftware used
expiresISO 8601NoWhen data becomes stale
refresh_intervalStringNo"daily", "weekly", "monthly"
languageStringNoBCP 47 code (e.g., "en-US")

llmld:site Properties

PropertyTypeRequiredDescription
nameStringYesOrganization name
typeStringYes"Business", "NonProfit", "Government"
descriptionStringYes1-2 sentence description
domains.primaryURLYesMain website URL
domains.aiURLNoAI subdomain
location.headquartersObjectNoPhysical HQ address
location.service_areaStringNoGeographic service area

llmld:summary Properties

PropertyTypeRequiredDescription
one_linerStringYesSingle sentence description
paragraphStringYes2-4 sentence overview
key_factsArrayYes3-10 bullet facts
differentiatorsArrayNoWhat makes you unique
target_customersArrayNoIdeal customer descriptions

llmld:actions Structure

json
{
  "llmld:actions": {
    "primary": [
      {
        "id": "string (unique)",
        "name": "string",
        "description": "string (optional)",
        "url": "URL",
        "type": "signup | purchase | schedule | form | contact | navigate | download | api",
        "priority": 1,
        "requires_auth": false
      }
    ],
    "purchase": [...],
    "contact": [
      {
        "id": "string",
        "name": "string",
        "type": "contact",
        "channels": [
          {
            "type": "email | phone | chat | form",
            "value": "string",
            "label": "string",
            "hours": "string (optional)"
          }
        ]
      }
    ],
    "resources": [...]
  }
}

llmld:pages Object

PropertyTypeRequiredDescription
pathStringYesURL path (e.g., "/about")
titleStringYesPage title
typeStringYesPage type (see below)
urlURLYesFull page URL
schemasArrayNoSchema.org types on this page
entityStringNoReference to entity in this doc

Page types: homepage, about, product, service, listing, article, person, contact, pricing, faq, legal, other


ADP JSON-LD Schema

json
{
  "@context": ["https://schema.org", "https://llmld.org/v1"],
  "@type": "llmld:DiscoveryPage",
  "@id": "https://example.com/ai-discovery",
  "name": "Company -- AI Discovery",
  "description": "AI layer discovery hub.",
  "dateModified": "ISO 8601",
  "isPartOf": {
    "@type": "WebSite",
    "name": "Company",
    "url": "https://example.com"
  },
  "llmld:aiLayer": {
    "url": "https://ai.example.com",
    "name": "Company AI Layer",
    "description": "Machine-readable content."
  },
  "llmld:resources": [
    {
      "@type": "llmld:AIResource",
      "identifier": "llm-index",
      "name": "LLM-LD Index",
      "url": "URL",
      "encodingFormat": "application/json",
      "description": "string",
      "category": "index | manifest | sitemap | entities | knowledge-graph | feed | schema | other",
      "priority": 1
    }
  ]
}

llms.txt Section Reference

SectionRequiredDescription
H1 + Header BlockYesSite name + Version, Last-Updated, Canonical-Site
PURPOSEYesWhat AI use cases this file supports
CANONICAL AUTHORITYYesSingle authoritative URL
START HERE (CRAWLING GUIDANCE)YesOrdered list of resources to fetch
ABOUTRecommended2-4 sentence narrative
PRODUCTS & SERVICESRecommendedList with links
ENTITY STATSRecommendedQuantitative summary
KEY FACTSOptionalDifferentiator bullets
ACTIONSOptionalConversion action links
FAQOptional3-5 questions max
VERIFICATIONOptionalLLM Disco verification status
CONTACTYesName + at least one contact method
EOFYesFile terminator

Schema.org Types Quick Reference

Business TypeSchema.org @type
General businessOrganization
Physical locationLocalBusiness
Dental officeDentist
RestaurantRestaurant
Real estate agentRealEstateAgent
LawyerLegalService
DoctorPhysician
HotelHotel
Software productSoftwareApplication
Physical productProduct
ServiceService

robots.txt AI Crawler User-Agents

Block on Main Site (Allow /ai-discovery)

User-agent: GPTBot
Allow: /ai-discovery
Disallow: /

User-agent: ClaudeBot
Allow: /ai-discovery
Disallow: /

User-agent: PerplexityBot
Allow: /ai-discovery
Disallow: /

User-agent: anthropic-ai
Allow: /ai-discovery
Disallow: /

User-agent: Google-Extended
Allow: /ai-discovery
Disallow: /

Allow on AI Subdomain

User-agent: GPTBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: anthropic-ai
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: Googlebot
Disallow: /

HTTP Headers for AI Files

llms.txt

Content-Type: text/plain; charset=utf-8
Cache-Control: public, max-age=86400
Access-Control-Allow-Origin: *

llm-index.json

Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=3600
Access-Control-Allow-Origin: *

AI Discovery Page

Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=3600
Access-Control-Allow-Origin: *

LLM-LD is licensed under CC BY 4.0. Created by CAPXEL.