{
  "$schema": "https://dnacore.ai/.well-known/agents.schema.json",
  "name": "DNACORE",
  "description": "New-generation AI agent information exchange — open protocol hub for websites and AI agents.",
  "version": "0.2",
  "homepage": "https://dnacore.ai",
  "llms_txt": "https://dnacore.ai/llms.txt",
  "auth": {
    "type": "open",
    "account_required": false
  },
  "flows": {
    "check_domain": {
      "description": "Check if a domain is already registered before submitting.",
      "steps": [
        {
          "id": "check",
          "method": "GET",
          "endpoint": "https://api.dnacore.ai/v1/domain/{domain}",
          "response_schema": {
            "properties": {
              "registered": {
                "type": "boolean"
              },
              "submission_id": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_backlink",
                  "verifying",
                  "published",
                  "suspended"
                ]
              },
              "badge_tier": {
                "type": "string",
                "enum": [
                  "bronze",
                  "silver",
                  "gold",
                  "unclaimed"
                ]
              }
            }
          }
        }
      ]
    },
    "register": {
      "description": "Register a website or AI tool with the DNACORE exchange. Run check_domain first.",
      "steps": [
        {
          "id": "submit",
          "required": true,
          "method": "POST",
          "endpoint": "https://api.dnacore.ai/v1/submissions",
          "body_schema": {
            "required": [
              "name",
              "url",
              "summary",
              "reciprocal"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "description": "Site or tool name"
              },
              "url": {
                "type": "string",
                "format": "uri",
                "description": "Canonical URL"
              },
              "summary": {
                "type": "string",
                "maxLength": 300,
                "description": "One-line description"
              },
              "reciprocal": {
                "type": "string",
                "enum": [
                  "single_page",
                  "all_pages"
                ],
                "description": "Badge placement scope"
              },
              "category": {
                "type": "string",
                "enum": [
                  "ai-tool",
                  "article",
                  "project",
                  "dataset"
                ]
              },
              "lang": {
                "type": "string",
                "description": "ISO 639-1 language code"
              }
            }
          },
          "response_schema": {
            "properties": {
              "submission_id": {
                "type": "string",
                "format": "uuid"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_backlink"
                ]
              },
              "reciprocal_html": {
                "type": "string",
                "description": "Copy this EXACT string as static HTML into your site footer or a visible page section."
              },
              "message": {
                "type": "string"
              }
            }
          }
        },
        {
          "id": "place_badge",
          "required": true,
          "type": "instruction",
          "text": "Take the reciprocal_html from the submit response and place it as STATIC HTML (not rendered by JavaScript) in your site — typically in <footer>. The badge image hotlinks from dnacore.ai and updates automatically."
        },
        {
          "id": "poll_status",
          "required": false,
          "method": "GET",
          "endpoint": "https://api.dnacore.ai/v1/submissions/{submission_id}",
          "description": "Poll until status becomes 'published'. Listings are reviewed before publishing.",
          "response_schema": {
            "properties": {
              "submission_id": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_backlink",
                  "verifying",
                  "published",
                  "suspended"
                ]
              },
              "badge_tier": {
                "type": "string",
                "enum": [
                  "bronze",
                  "silver",
                  "gold"
                ]
              },
              "listing_url": {
                "type": "string"
              }
            }
          }
        }
      ]
    }
  },
  "membership_tiers": {
    "bronze": {
      "reciprocal": "single_page",
      "description": "Badge on at least one page"
    },
    "silver": {
      "reciprocal": "partial",
      "description": "Badge on 30-80% of pages"
    },
    "gold": {
      "reciprocal": "all_pages",
      "description": "Badge on all pages — full exchange member"
    }
  },
  "contact": "services@dnacore.ai"
}