docs: explain Agent Description extended fields - #89
Conversation
|
Thank you for contributing this documentation. After reviewing the current ANP-07 v1.1 specification, we found that the normative Agent Description format now uses standard JSON rather than JSON-LD constructs such as @context, @type, @id, and ad:-prefixed fields. The hotel and coffee-shop examples in the repository still use the legacy JSON-LD format. As a result, this guide currently documents historical examples rather than the data model defined by the current specification. Linking it from the main specification could incorrectly suggest that JSON-LD remains the normative Agent Description format. We recommend updating this PR as follows: Use the standard JSON fields defined by the current ANP-07 specification; The overall document structure is reasonable, but the guide, examples, and current specification should first be aligned before this PR is merged. |
Thank you for the review and clarification. I have updated the PR to align the guide and examples with the standard JSON format defined by ANP-07 v1.1.
I also validated all JSON documents and guide snippets, checked the documentation links, and linted the updated OpenAPI document successfully. |
🔗 Related Issue | 相关 Issue
Closes #16
📝 PR Type | PR 类型
📋 Description | 描述
Adds a non-normative guide for extended fields used by Agent Description and Product documents.
This PR also aligns the existing hotel and coffee-shop examples with the standard JSON format defined by ANP-07 v1.1.
Changes include:
domainEntity,customizationOptions, and hotel-room fields;ad:-prefixed fields;NaturalLanguageInterfaceandStructuredInterfaceconsistently;Validation performed:
examples/adp.git diff --checksuccessfully.✅ Checklist | 检查项
Compilation and automated tests are not applicable because this is a documentation and example-data update.