=== AI Domain Data ===
Contributors: dylanl3737
Tags: ai, domain, identity, json, schema.org
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 0.1.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically generate and serve domain-profile.json according to the AI Domain Data Standard v0.1.1.

== Description ==

AI Domain Data is an open, vendor-neutral standard for publishing authoritative domain identity data for AI systems, search engines, and automated agents. This plugin makes it easy to add AI Domain Data support to your WordPress site.

**Key Features:**

* Automatically generates `/.well-known/domain-profile.json` via REST API
* Validates data against the official AI Domain Data Standard schema
* Smart defaults from your WordPress site settings
* Admin interface for easy configuration
* CORS headers included for cross-origin access
* Full support for optional fields (logo, entity_type, jsonld)

**The Problem:**

AI assistants frequently get domain details wrong because there's no standard way for domains to publish authoritative identity data. They scrape outdated pages, infer from partial data, and hallucinate details.

**The Solution:**

The AI Domain Data Standard lets you publish a canonical JSON profile that AI systems can read directly from your domain. No SaaS, no vendor lock-in, just a simple JSON file.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/ai-domain-data` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to Settings → AI Domain Data to configure your domain profile.
4. Your domain profile will be available at `https://yourdomain.com/.well-known/domain-profile.json`

== Frequently Asked Questions ==

= What is AI Domain Data? =

AI Domain Data is an open standard for publishing authoritative domain identity data. It helps AI systems discover accurate information about your domain directly from you, rather than scraping or inferring from outdated sources.

= Where is my domain profile served? =

Your domain profile is available at: `https://yourdomain.com/.well-known/domain-profile.json`

= Do I need to fill in all fields? =

Only the required fields (name, description, website, contact) are necessary. The plugin will use your WordPress site settings as defaults if you leave them empty.

= What is entity_type? =

Entity type is an optional classification using schema.org types (Organization, Person, Blog, etc.). This helps AI systems better understand what your domain represents.

= What is jsonld? =

JSON-LD is an optional embedded block for schema.org alignment. It allows you to include additional structured data that aligns with schema.org vocabulary.

= Can I use DNS records too? =

Yes! The AI Domain Data Standard also supports DNS TXT records at `_ai.yourdomain.com`. This plugin generates the HTTPS endpoint. For DNS setup, see the [AI Domain Data Standard documentation](https://ai-domain-data.org).

== Screenshots ==

1. Admin settings page with required and optional fields, live preview, and validation status
2. Endpoint response showing generated domain-profile.json JSON

== Changelog ==

= 0.1.1 =
* Initial release
* REST API endpoint for domain-profile.json
* Admin settings page
* Schema validation
* CORS headers support
* Smart defaults from WordPress settings

== Upgrade Notice ==

= 0.1.1 =
Initial release of AI Domain Data plugin for WordPress.

== Development ==

This plugin follows WordPress coding standards and is translation-ready.

For issues, contributions, or questions, visit:
* GitHub: https://github.com/ai-domain-data/wordpress-ai-domain-data
* Standard: https://ai-domain-data.org
* Standard GitHub: https://github.com/ai-domain-data/spec

