Files
dealplustech/.astro/collections/products.schema.json
Kunthawat 77ac4d2d05 feat: Upgrade to Astro with full PDPA compliance
PDPA Features:
 Cookie consent banner
 Consent logging API
 Admin dashboard
 Privacy Policy
 Terms & Conditions

Technical:
 Astro 5.x + Tailwind v4
 Docker on port 80
 SQLite database
 15 pages built

Ready for Easypanel deployment.
2026-03-12 10:01:04 +07:00

168 lines
3.6 KiB
JSON

{
"$ref": "#/definitions/products",
"definitions": {
"products": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"nameEn": {
"type": "string"
},
"slug": {
"type": "string"
},
"description": {
"type": "string"
},
"shortDescription": {
"type": "string"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"seoContent": {
"type": "string"
},
"image": {
"type": "string"
},
"specifications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
}
},
"features": {
"type": "array",
"items": {
"type": "string"
}
},
"applications": {
"type": "array",
"items": {
"type": "string"
}
},
"certifications": {
"type": "array",
"items": {
"type": "string"
}
},
"productTables": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tableName": {
"type": "string"
},
"headers": {
"type": "array",
"items": {
"type": "string"
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"required": [
"tableName",
"headers",
"rows"
],
"additionalProperties": false
}
},
"faq": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string"
},
"answer": {
"type": "string"
}
},
"required": [
"question",
"answer"
],
"additionalProperties": false
}
},
"relatedProductIds": {
"type": "array",
"items": {
"type": "string"
}
},
"schemaData": {
"type": "object",
"properties": {
"brand": {
"type": "string"
},
"manufacturer": {
"type": "string"
},
"material": {
"type": "string"
},
"category": {
"type": "string"
}
},
"additionalProperties": false
},
"$schema": {
"type": "string"
}
},
"required": [
"id",
"name",
"nameEn",
"slug",
"description",
"image"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}