{
  "about": "Test vectors for AI Terms 0.1 (https://aipaygen.com/ai-terms). An implementation that reads terms files should agree with every case. 'validate' cases say whether a file is valid; 'resolve' cases say which access applies to a use on a path; 'signals' cases check the aipref Content-Usage value and robots.txt rules written from terms. License: CC BY 4.0.",
  "version": "0.1",
  "validate": [
    {
      "name": "minimal file, everything allowed",
      "valid": true,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          },
          "agent": {
            "access": "allow"
          }
        }
      }
    },
    {
      "name": "deny training, allow the rest with attribution; no payment needed",
      "valid": true,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "deny",
        "uses": {
          "search": {
            "access": "allow",
            "attribution": "required"
          },
          "answer": {
            "access": "allow",
            "attribution": "requested"
          },
          "training": {
            "access": "deny"
          },
          "agent": {
            "access": "deny"
          }
        }
      }
    },
    {
      "name": "paid training with a price and a payment endpoint",
      "valid": true,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "paid",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          },
          "agent": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          }
        },
        "payment": {
          "protocol": "x402",
          "version": 2,
          "endpoint": "https://pay.example.com/x",
          "network": "eip155:8453",
          "asset": "USDC"
        }
      }
    },
    {
      "name": "paid only under one path, with the payment on that path entry",
      "valid": true,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          },
          "agent": {
            "access": "allow"
          }
        },
        "paths": [
          {
            "match": "/data/*",
            "uses": {
              "agent": {
                "access": "paid",
                "price": {
                  "amount": "0.01",
                  "currency": "USD",
                  "per": "request"
                }
              }
            },
            "payment": {
              "protocol": "x402",
              "endpoint": "https://example.com"
            }
          }
        ]
      }
    },
    {
      "name": "not an object",
      "valid": false,
      "error_contains": "JSON object",
      "doc": [
        "ai_terms"
      ]
    },
    {
      "name": "a use is missing",
      "valid": false,
      "error_contains": "uses.agent",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          }
        }
      }
    },
    {
      "name": "unknown access value",
      "valid": false,
      "error_contains": "uses.training.access",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "license"
          },
          "agent": {
            "access": "allow"
          }
        }
      }
    },
    {
      "name": "paid without a price",
      "valid": false,
      "error_contains": "no \"price\"",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "paid"
          },
          "agent": {
            "access": "allow"
          }
        },
        "payment": {
          "protocol": "x402",
          "endpoint": "https://pay.example.com/x"
        }
      }
    },
    {
      "name": "price amount is a number, not a decimal string",
      "valid": false,
      "error_contains": "decimal string",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "paid",
            "price": {
              "amount": 0.002,
              "currency": "USD",
              "per": "page"
            }
          },
          "agent": {
            "access": "allow"
          }
        },
        "payment": {
          "protocol": "x402",
          "endpoint": "https://pay.example.com/x"
        }
      }
    },
    {
      "name": "paid with no way to pay",
      "valid": false,
      "error_contains": "no way to pay",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          },
          "agent": {
            "access": "allow"
          }
        }
      }
    },
    {
      "name": "default is paid with no way to pay",
      "valid": false,
      "error_contains": "no way to pay",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "paid",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "deny"
          },
          "agent": {
            "access": "deny"
          }
        }
      }
    },
    {
      "name": "date in the wrong shape",
      "valid": false,
      "error_contains": "YYYY-MM-DD",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "16/11/2026",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          },
          "agent": {
            "access": "allow"
          }
        }
      }
    },
    {
      "name": "path match that does not start with a slash",
      "valid": false,
      "error_contains": "paths[0].match",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          },
          "agent": {
            "access": "allow"
          }
        },
        "paths": [
          {
            "match": "members/*",
            "uses": {
              "search": {
                "access": "deny"
              }
            }
          }
        ]
      }
    },
    {
      "name": "free allowance: training paid after 100 free requests a day",
      "valid": true,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-17",
        "default": "deny",
        "payment": {
          "protocol": "x402",
          "version": 2,
          "endpoint": "https://pay.example.com/g/abc",
          "network": "eip155:8453",
          "asset": "USDC"
        },
        "uses": {
          "search": {
            "access": "allow",
            "attribution": "required"
          },
          "answer": {
            "access": "allow",
            "attribution": "required"
          },
          "training": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            },
            "free": {
              "requests": 100,
              "per": "day"
            }
          },
          "agent": {
            "access": "deny"
          }
        }
      }
    },
    {
      "name": "free allowance on a denied use: 100 requests an hour, then deny",
      "valid": true,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-17",
        "default": "deny",
        "uses": {
          "search": {
            "access": "allow",
            "attribution": "required"
          },
          "answer": {
            "access": "allow",
            "attribution": "required"
          },
          "training": {
            "access": "deny",
            "free": {
              "requests": 100,
              "per": "hour"
            }
          },
          "agent": {
            "access": "deny"
          }
        }
      }
    },
    {
      "name": "free allowance on an allowed use is ignored (a warning, still valid)",
      "valid": true,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-17",
        "default": "deny",
        "uses": {
          "search": {
            "access": "allow",
            "free": {
              "requests": 10,
              "per": "day"
            }
          },
          "answer": {
            "access": "allow",
            "attribution": "required"
          },
          "training": {
            "access": "deny"
          },
          "agent": {
            "access": "deny"
          }
        }
      }
    },
    {
      "name": "invalid: free.requests must be a whole number of at least 1",
      "valid": false,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-17",
        "default": "deny",
        "uses": {
          "search": {
            "access": "allow",
            "attribution": "required"
          },
          "answer": {
            "access": "allow",
            "attribution": "required"
          },
          "training": {
            "access": "deny",
            "free": {
              "requests": 0,
              "per": "day"
            }
          },
          "agent": {
            "access": "deny"
          }
        }
      }
    },
    {
      "name": "invalid: free.per must be hour or day",
      "valid": false,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-17",
        "default": "deny",
        "uses": {
          "search": {
            "access": "allow",
            "attribution": "required"
          },
          "answer": {
            "access": "allow",
            "attribution": "required"
          },
          "training": {
            "access": "deny",
            "free": {
              "requests": 1000,
              "per": "week"
            }
          },
          "agent": {
            "access": "deny"
          }
        }
      }
    },
    {
      "name": "invalid: payment endpoint is prose, not an https URL",
      "valid": false,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "paid",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          },
          "agent": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          }
        },
        "payment": {
          "protocol": "x402",
          "version": 2,
          "endpoint": "the listing URL itself",
          "network": "eip155:8453",
          "asset": "USDC"
        }
      }
    },
    {
      "name": "invalid: payment endpoint is plain http",
      "valid": false,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "paid",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          },
          "agent": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          }
        },
        "payment": {
          "protocol": "x402",
          "version": 2,
          "endpoint": "http://pay.example.com/x",
          "network": "eip155:8453",
          "asset": "USDC"
        }
      }
    },
    {
      "name": "invalid: payment endpoint ends in a newline",
      "valid": false,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-16",
        "default": "paid",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          },
          "agent": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          }
        },
        "payment": {
          "protocol": "x402",
          "version": 2,
          "endpoint": "https://example.com/\n",
          "network": "eip155:8453",
          "asset": "USDC"
        }
      }
    },
    {
      "name": "payment.endpoint with a query: content at path P is paid for at endpoint + P, so it can't carry one",
      "valid": false,
      "error_contains": "endpoint",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-18",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "paid",
            "price": {
              "amount": "0.002",
              "currency": "USD",
              "per": "page"
            }
          },
          "agent": {
            "access": "allow"
          }
        },
        "payment": {
          "protocol": "x402",
          "endpoint": "https://pay.example/g/abc?x=1"
        }
      }
    },
    {
      "name": "site that is not a web origin",
      "valid": false,
      "error_contains": "site",
      "doc": {
        "ai_terms": "0.1",
        "updated": "2026-11-18",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          },
          "agent": {
            "access": "allow"
          }
        },
        "site": "ftp://example.com"
      }
    },
    {
      "name": "preview without delivery",
      "valid": false,
      "error_contains": "preview.delivery",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-18",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          },
          "agent": {
            "access": "allow"
          }
        },
        "preview": {
          "shows": [
            "title"
          ]
        }
      }
    },
    {
      "name": "identity: a client that fails the check is treated as the crawler it claims",
      "valid": true,
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-18",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          },
          "agent": {
            "access": "allow"
          }
        },
        "identity": {
          "verify": [
            "published-ip-ranges"
          ],
          "unverified": "treated-as-claimed"
        }
      }
    },
    {
      "name": "identity.verify must be a list",
      "valid": false,
      "error_contains": "identity.verify",
      "doc": {
        "ai_terms": "0.1",
        "site": "https://example.com",
        "updated": "2026-11-18",
        "default": "allow",
        "uses": {
          "search": {
            "access": "allow"
          },
          "answer": {
            "access": "allow"
          },
          "training": {
            "access": "allow"
          },
          "agent": {
            "access": "allow"
          }
        },
        "identity": {
          "verify": "published-ip-ranges"
        }
      }
    }
  ],
  "resolve": {
    "terms": {
      "default": "deny",
      "uses": {
        "search": {
          "access": "allow"
        },
        "answer": {
          "access": "allow"
        },
        "training": {
          "access": "deny"
        }
      },
      "paths": [
        {
          "match": "/blog/*",
          "uses": {
            "training": {
              "access": "paid",
              "price": {
                "amount": "0.002",
                "currency": "USD",
                "per": "page"
              }
            }
          }
        },
        {
          "match": "/blog/drafts/*",
          "uses": {
            "search": {
              "access": "deny"
            },
            "training": {
              "access": "deny"
            }
          }
        },
        {
          "match": "/blog/draft-*",
          "uses": {
            "training": {
              "access": "deny"
            }
          }
        },
        {
          "match": "/members/*",
          "uses": {
            "search": {
              "access": "deny"
            },
            "answer": {
              "access": "deny"
            }
          }
        },
        {
          "match": "/api/*/status",
          "uses": {
            "agent": {
              "access": "allow"
            }
          }
        },
        {
          "match": "/blog/x-*",
          "uses": {
            "search": {
              "access": "deny"
            }
          }
        },
        {
          "match": "/t/a*",
          "uses": {
            "agent": {
              "access": "allow"
            }
          }
        },
        {
          "match": "/t/*a",
          "uses": {
            "agent": {
              "access": "paid",
              "price": {
                "amount": "0.01",
                "currency": "USD",
                "per": "request"
              }
            }
          }
        },
        {
          "match": "/blog/x-1",
          "uses": {
            "training": "deny"
          }
        },
        {
          "match": "/café/*",
          "uses": {
            "agent": {
              "access": "allow"
            }
          }
        },
        {
          "match": "/~user",
          "uses": {
            "agent": {
              "access": "allow"
            }
          }
        },
        {
          "match": "/😀/*",
          "uses": {
            "agent": {
              "access": "allow"
            }
          }
        }
      ]
    },
    "cases": [
      {
        "name": "no path entry matches: the top-level use applies",
        "use": "search",
        "path": "/about",
        "access": "allow"
      },
      {
        "name": "a use missing from 'uses' falls back to 'default'",
        "use": "agent",
        "path": "/about",
        "access": "deny"
      },
      {
        "name": "a path entry overrides only the uses it lists",
        "use": "search",
        "path": "/blog/post",
        "access": "allow"
      },
      {
        "name": "a path entry overrides a listed use",
        "use": "training",
        "path": "/blog/post",
        "access": "paid"
      },
      {
        "name": "* stays within one path segment",
        "use": "training",
        "path": "/blog/2026/post",
        "access": "deny"
      },
      {
        "name": "two entries match: the most specific wins (most literal characters)",
        "use": "training",
        "path": "/blog/draft-1",
        "access": "deny"
      },
      {
        "name": "a deeper entry applies to deeper paths",
        "use": "training",
        "path": "/blog/drafts/x",
        "access": "deny"
      },
      {
        "name": "the more specific entry also wins for search",
        "use": "search",
        "path": "/blog/drafts/x",
        "access": "deny"
      },
      {
        "name": "members area denies answers",
        "use": "answer",
        "path": "/members/profile",
        "access": "deny"
      },
      {
        "name": "* in the middle of a pattern",
        "use": "agent",
        "path": "/api/v2/status",
        "access": "allow"
      },
      {
        "name": "a pattern must match the whole path",
        "use": "agent",
        "path": "/api/v2/status/extra",
        "access": "deny"
      },
      {
        "name": "the bare prefix does not match prefix/*",
        "use": "training",
        "path": "/blog",
        "access": "deny"
      },
      {
        "name": "each use is resolved on its own: an entry that doesn't list a use leaves it to the next matching entry that does",
        "use": "training",
        "path": "/blog/x-1",
        "access": "paid"
      },
      {
        "name": "... and the more specific entry still decides the use it lists",
        "use": "search",
        "path": "/blog/x-1",
        "access": "deny"
      },
      {
        "name": "two entries tie on literal characters: the first listed wins",
        "use": "agent",
        "path": "/t/aa",
        "access": "allow"
      },
      {
        "name": "the second of two tied entries applies where only it matches",
        "use": "agent",
        "path": "/t/ba",
        "access": "paid"
      },
      {
        "name": "a use that is not an object with a valid access counts as not listed",
        "use": "training",
        "path": "/blog/x-1",
        "access": "paid"
      },
      {
        "name": "* matches the empty string",
        "use": "training",
        "path": "/blog/",
        "access": "paid"
      },
      {
        "name": "non-ASCII in a pattern matches its UTF-8 percent-encoding",
        "use": "agent",
        "path": "/caf%C3%A9/menu",
        "access": "allow"
      },
      {
        "name": "percent-encoding hex digits compare case-insensitively",
        "use": "agent",
        "path": "/caf%c3%a9/menu",
        "access": "allow"
      },
      {
        "name": "an encoded unreserved character is the character itself",
        "use": "agent",
        "path": "/%7Euser",
        "access": "allow"
      },
      {
        "name": "an encoded slash is not a segment separator",
        "use": "agent",
        "path": "/caf%C3%A9/a%2Fb",
        "access": "allow"
      },
      {
        "name": "a character outside the BMP is one UTF-8 sequence, not two halves",
        "use": "agent",
        "path": "/%F0%9F%98%80/x",
        "access": "allow"
      },
      {
        "name": "... and a different emoji does not match it",
        "use": "agent",
        "path": "/%F0%9F%99%82/x",
        "access": "deny"
      }
    ]
  },
  "signals": {
    "about": "Signals for existing readers (draft-ovalles-ai-terms-03): the IETF aipref vocabulary as a Content-Usage value, and robots.txt rules for training-only crawlers. 'content_usage' cases give the exact Content-Usage value for a response at a path, under the case's own 'terms' or else the 'resolve' terms above (\"\" means no Content-Usage is sent). 'robots' cases say what an RFC 9309 reader (longest match wins, Allow wins a tie; Content-Usage lines matched the same way, per draft-ietf-aipref-attach) must conclude from the robots.txt a generator writes for the terms. 'fetch' is whether the agent may fetch the path; 'content_usage' is the preference it reads there (checked only where it may fetch: no preference is implied for a disallowed path). For the policy token __usage_ai-training (draft-kelley-aipref-training-preference-signal), 'fetch' is the training preference itself (true = training welcome), read from its own group only: a * group never applies to it. Generators may write different lines as long as every check holds. A reader that does not generate robots.txt can skip 'robots'.",
    "content_usage": [
      {
        "name": "no path entry: training deny is train-ai=n; answer allowed and agent denied states no ai-use; search=y is not stated while training is not allowed (aipref Search also allows training for search)",
        "path": "/about",
        "value": "train-ai=n"
      },
      {
        "name": "training paid is train-ai=n too",
        "path": "/blog/post",
        "value": "train-ai=n"
      },
      {
        "name": "answer and agent both denied: ai-use=n",
        "path": "/members/profile",
        "value": "train-ai=n, ai-use=n"
      },
      {
        "name": "answer and agent both allowed: ai-use=y",
        "path": "/api/v2/status",
        "value": "train-ai=n, ai-use=y"
      },
      {
        "name": "the bare prefix takes the top level",
        "path": "/blog",
        "value": "train-ai=n"
      },
      {
        "name": "every use allowed: y for all three",
        "path": "/",
        "value": "train-ai=y, ai-use=y, search=y",
        "terms": {
          "default": "allow",
          "uses": {
            "search": {
              "access": "allow"
            },
            "answer": {
              "access": "allow"
            },
            "training": {
              "access": "allow"
            },
            "agent": {
              "access": "allow"
            }
          }
        }
      },
      {
        "name": "search denied with training allowed: search is not stated (it would be search=n for every search engine)",
        "path": "/",
        "value": "train-ai=y, ai-use=y",
        "terms": {
          "default": "allow",
          "uses": {
            "search": {
              "access": "deny"
            },
            "answer": {
              "access": "allow"
            },
            "training": {
              "access": "allow"
            },
            "agent": {
              "access": "allow"
            }
          }
        }
      },
      {
        "name": "report_only: the site has chosen no terms, so nothing is stated",
        "path": "/",
        "value": "",
        "terms": {
          "default": "allow",
          "report_only": true,
          "uses": {
            "search": {
              "access": "allow"
            },
            "answer": {
              "access": "allow"
            },
            "training": {
              "access": "allow"
            },
            "agent": {
              "access": "allow"
            }
          }
        }
      }
    ],
    "robots": [
      {
        "name": "every use allowed",
        "terms": {
          "default": "allow",
          "uses": {
            "search": {
              "access": "allow"
            },
            "answer": {
              "access": "allow"
            },
            "training": {
              "access": "allow"
            },
            "agent": {
              "access": "allow"
            }
          }
        },
        "checks": [
          {
            "agent": "GPTBot",
            "path": "/post",
            "fetch": true,
            "content_usage": "train-ai=y, ai-use=y, search=y"
          },
          {
            "agent": "SomeBot",
            "path": "/",
            "fetch": true,
            "content_usage": "train-ai=y, ai-use=y, search=y"
          },
          {
            "agent": "__usage_ai-training",
            "path": "/",
            "fetch": true
          }
        ]
      },
      {
        "name": "training paid site-wide: training-only crawlers disallowed, search and on-demand fetchers not",
        "terms": {
          "default": "allow",
          "uses": {
            "search": {
              "access": "allow"
            },
            "answer": {
              "access": "allow"
            },
            "training": {
              "access": "paid",
              "price": {
                "amount": "0.002",
                "currency": "USD",
                "per": "page"
              }
            },
            "agent": {
              "access": "allow"
            }
          }
        },
        "checks": [
          {
            "agent": "GPTBot",
            "path": "/post",
            "fetch": false
          },
          {
            "agent": "ClaudeBot",
            "path": "/",
            "fetch": false
          },
          {
            "agent": "Google-Extended",
            "path": "/post",
            "fetch": false
          },
          {
            "agent": "CCBot",
            "path": "/post",
            "fetch": false
          },
          {
            "agent": "OAI-SearchBot",
            "path": "/post",
            "fetch": true
          },
          {
            "agent": "Claude-User",
            "path": "/post",
            "fetch": true
          },
          {
            "agent": "PerplexityBot",
            "path": "/post",
            "fetch": true,
            "content_usage": "train-ai=n, ai-use=y"
          },
          {
            "agent": "__usage_ai-training",
            "path": "/post",
            "fetch": false
          }
        ]
      },
      {
        "name": "training paid under one path only",
        "terms": {
          "default": "allow",
          "uses": {
            "search": {
              "access": "allow"
            },
            "answer": {
              "access": "allow"
            },
            "training": {
              "access": "allow"
            },
            "agent": {
              "access": "allow"
            }
          },
          "paths": [
            {
              "match": "/data/*",
              "uses": {
                "training": {
                  "access": "paid",
                  "price": {
                    "amount": "0.002",
                    "currency": "USD",
                    "per": "page"
                  }
                }
              }
            }
          ]
        },
        "checks": [
          {
            "agent": "GPTBot",
            "path": "/data/x",
            "fetch": false
          },
          {
            "agent": "GPTBot",
            "path": "/about",
            "fetch": true
          },
          {
            "agent": "GPTBot",
            "path": "/data",
            "fetch": true
          },
          {
            "agent": "SomeBot",
            "path": "/data/x",
            "content_usage": "train-ai=n, ai-use=y"
          },
          {
            "agent": "SomeBot",
            "path": "/about",
            "content_usage": "train-ai=y, ai-use=y, search=y"
          },
          {
            "agent": "__usage_ai-training",
            "path": "/data/x",
            "fetch": false
          },
          {
            "agent": "__usage_ai-training",
            "path": "/about",
            "fetch": true
          }
        ]
      },
      {
        "name": "training denied except one exact path, with or without a query",
        "terms": {
          "default": "allow",
          "uses": {
            "search": {
              "access": "allow"
            },
            "answer": {
              "access": "allow"
            },
            "training": {
              "access": "deny"
            },
            "agent": {
              "access": "allow"
            }
          },
          "paths": [
            {
              "match": "/open",
              "uses": {
                "training": {
                  "access": "allow"
                }
              }
            }
          ]
        },
        "checks": [
          {
            "agent": "GPTBot",
            "path": "/open",
            "fetch": true,
            "content_usage": "train-ai=y, ai-use=y, search=y"
          },
          {
            "agent": "GPTBot",
            "path": "/open?page=2",
            "fetch": true
          },
          {
            "agent": "GPTBot",
            "path": "/open/more",
            "fetch": false
          },
          {
            "agent": "SomeBot",
            "path": "/other",
            "fetch": true,
            "content_usage": "train-ai=n, ai-use=y"
          },
          {
            "agent": "GPTBot",
            "path": "/other",
            "fetch": false
          },
          {
            "agent": "__usage_ai-training",
            "path": "/open",
            "fetch": true
          },
          {
            "agent": "__usage_ai-training",
            "path": "/other",
            "fetch": false
          }
        ]
      },
      {
        "name": "a free exception inside a paid area",
        "terms": {
          "default": "allow",
          "uses": {
            "search": {
              "access": "allow"
            },
            "answer": {
              "access": "allow"
            },
            "training": {
              "access": "allow"
            },
            "agent": {
              "access": "allow"
            }
          },
          "paths": [
            {
              "match": "/l/ours/free-*",
              "uses": {
                "search": {
                  "access": "allow"
                },
                "answer": {
                  "access": "allow"
                },
                "training": {
                  "access": "allow"
                },
                "agent": {
                  "access": "allow"
                }
              }
            },
            {
              "match": "/l/*/*",
              "uses": {
                "search": {
                  "access": "paid",
                  "price": {
                    "amount": "0.002",
                    "currency": "USD",
                    "per": "page"
                  }
                },
                "answer": {
                  "access": "paid",
                  "price": {
                    "amount": "0.002",
                    "currency": "USD",
                    "per": "page"
                  }
                },
                "training": {
                  "access": "paid",
                  "price": {
                    "amount": "0.002",
                    "currency": "USD",
                    "per": "page"
                  }
                },
                "agent": {
                  "access": "paid",
                  "price": {
                    "amount": "0.002",
                    "currency": "USD",
                    "per": "page"
                  }
                }
              }
            }
          ]
        },
        "checks": [
          {
            "agent": "GPTBot",
            "path": "/l/ours/free-tool",
            "fetch": true,
            "content_usage": "train-ai=y, ai-use=y, search=y"
          },
          {
            "agent": "GPTBot",
            "path": "/l/x/y",
            "fetch": false
          },
          {
            "agent": "SomeBot",
            "path": "/l/x/y",
            "content_usage": "train-ai=n, ai-use=n"
          },
          {
            "agent": "SomeBot",
            "path": "/l",
            "content_usage": "train-ai=y, ai-use=y, search=y"
          },
          {
            "agent": "__usage_ai-training",
            "path": "/l/ours/free-tool",
            "fetch": true
          },
          {
            "agent": "__usage_ai-training",
            "path": "/l/x/y",
            "fetch": false
          }
        ]
      }
    ]
  }
}