Mô tả
schema-test là Schema.org structured data validator — accuracy-matched tới validator.schema.org của Google. Fork từ schemacraft-validator.
Kiến trúc
- Node.js/TypeScript — Express server, CORS, CLI
- Docker — Multi-stage build, Node 20 Alpine
API Endpoints
| Method |
Path |
Description |
GET |
/health |
Health check |
POST |
/validate |
Validate URL, raw HTML, or raw JSON-LD |
POST |
/validate/batch |
Batch validate (max 100 URLs) |
Test Coverage
- ✅ 203 tests (20 test files)
- ✅ 22 accuracy fixtures (100% match vs validator.schema.org)
- ✅ Docker build + healthcheck verified
Action Items
References
Mô tả
schema-test là Schema.org structured data validator — accuracy-matched tới validator.schema.org của Google. Fork từ schemacraft-validator.
Kiến trúc
API Endpoints
GET/healthPOST/validatePOST/validate/batchTest Coverage
Action Items
write:packages)References