Files
2026-08-09 23:23:29 +08:00

3023 lines
68 KiB
JSON

[
{
"name": "sanity.imagePaletteSwatch",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.imagePaletteSwatch"
}
},
"background": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"foreground": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"population": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
}
},
{
"name": "sanity.imagePalette",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.imagePalette"
}
},
"darkMuted": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imagePaletteSwatch"
},
"optional": true
},
"lightVibrant": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imagePaletteSwatch"
},
"optional": true
},
"darkVibrant": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imagePaletteSwatch"
},
"optional": true
},
"vibrant": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imagePaletteSwatch"
},
"optional": true
},
"dominant": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imagePaletteSwatch"
},
"optional": true
},
"lightMuted": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imagePaletteSwatch"
},
"optional": true
},
"muted": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imagePaletteSwatch"
},
"optional": true
}
}
}
},
{
"name": "sanity.imageDimensions",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.imageDimensions"
}
},
"height": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"width": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"aspectRatio": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
}
}
}
},
{
"name": "sanity.fileAsset",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.fileAsset"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"originalFilename": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"label": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"altText": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"sha1hash": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"extension": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"mimeType": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"size": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"assetId": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"uploadId": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"path": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"url": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"source": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.assetSourceData"
},
"optional": true
}
}
},
{
"name": "geopoint",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "geopoint"
}
},
"lat": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"lng": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"alt": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
}
}
}
},
{
"name": "blockContent",
"type": "type",
"value": {
"type": "array",
"of": {
"type": "union",
"of": [
{
"type": "object",
"attributes": {
"children": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"marks": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "string"
}
},
"optional": true
},
"text": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "span"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
},
"style": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "normal"
},
{
"type": "string",
"value": "h1"
},
{
"type": "string",
"value": "h2"
},
{
"type": "string",
"value": "h3"
},
{
"type": "string",
"value": "h4"
},
{
"type": "string",
"value": "h5"
},
{
"type": "string",
"value": "h6"
},
{
"type": "string",
"value": "blockquote"
}
]
},
"optional": true
},
"listItem": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "bullet"
},
{
"type": "string",
"value": "number"
}
]
},
"optional": true
},
"markDefs": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "union",
"of": [
{
"type": "object",
"attributes": {
"reference": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": []
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "internalLink"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"attributes": {
"href": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "link"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
]
}
},
"optional": true
},
"level": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "block"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"attributes": {
"asset": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "sanity.imageAsset"
},
"optional": true
},
"hotspot": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageHotspot"
},
"optional": true
},
"crop": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageCrop"
},
"optional": true
},
"alt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "image"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
},
"rest": {
"type": "inline",
"name": "code"
}
}
]
}
}
},
{
"name": "settings",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "settings"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "passwordResetToken",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "passwordResetToken"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"identifier": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"token": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"expires": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "verificationToken",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "verificationToken"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"identifier": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"token": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"expires": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "page",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "page"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"excerpt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"body": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "blockContent"
},
"optional": true
},
"publishDate": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "blogCategory",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "blogCategory"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"priority": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
}
}
},
{
"name": "blogPost",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "blogPost"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"excerpt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"featured": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
},
"categories": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "blogCategory",
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
},
"author": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "user"
},
"optional": true
},
"body": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "blockContent"
},
"optional": true
},
"image": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"asset": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "sanity.imageAsset"
},
"optional": true
},
"hotspot": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageHotspot"
},
"optional": true
},
"crop": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageCrop"
},
"optional": true
},
"alt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "image"
}
}
}
},
"optional": true
},
"relatedPosts": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "blogPost",
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
},
"publishDate": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "collection",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "collection"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"icon": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"asset": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "sanity.imageAsset"
},
"optional": true
},
"hotspot": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageHotspot"
},
"optional": true
},
"crop": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageCrop"
},
"optional": true
},
"alt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "image"
}
}
}
},
"optional": true
},
"priority": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
}
}
},
{
"name": "category",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "category"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"group": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "group"
},
"optional": true
},
"priority": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
}
}
},
{
"name": "group",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "group"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"priority": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
}
}
},
{
"name": "tag",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "tag"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "item",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "item"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"featured": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
},
"link": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"affiliateLink": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"collections": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "collection",
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
},
"categories": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "category",
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
},
"tags": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "tag",
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
},
"submitter": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "user"
},
"optional": true
},
"introduction": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"icon": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"asset": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "sanity.imageAsset"
},
"optional": true
},
"hotspot": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageHotspot"
},
"optional": true
},
"crop": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageCrop"
},
"optional": true
},
"alt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "image"
}
}
}
},
"optional": true
},
"image": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"asset": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "sanity.imageAsset"
},
"optional": true
},
"hotspot": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageHotspot"
},
"optional": true
},
"crop": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageCrop"
},
"optional": true
},
"alt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "image"
}
}
}
},
"optional": true
},
"publishDate": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"pricePlan": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "free"
},
{
"type": "string",
"value": "pro"
},
{
"type": "string",
"value": "sponsor"
}
]
},
"optional": true
},
"freePlanStatus": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "submitting"
},
{
"type": "string",
"value": "pending"
},
{
"type": "string",
"value": "approved"
},
{
"type": "string",
"value": "rejected"
}
]
},
"optional": true
},
"proPlanStatus": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "submitting"
},
{
"type": "string",
"value": "pending"
},
{
"type": "string",
"value": "success"
},
{
"type": "string",
"value": "failed"
}
]
},
"optional": true
},
"rejectionReason": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "The item is not good fit for our directory"
},
{
"type": "string",
"value": "The image of the item is not in good quality"
},
{
"type": "string",
"value": "The icon of the item is not in good quality"
},
{
"type": "string",
"value": "The information of the item is not clear"
},
{
"type": "string",
"value": "The backlink to our site is not provided"
},
{
"type": "string",
"value": "Other reasons"
}
]
},
"optional": true
},
"sponsorPlanStatus": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "submitting"
},
{
"type": "string",
"value": "pending"
},
{
"type": "string",
"value": "success"
},
{
"type": "string",
"value": "failed"
}
]
},
"optional": true
},
"paid": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
},
"order": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "order"
},
"optional": true
},
"forceHidden": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
},
"sponsor": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
},
"sponsorStartDate": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"sponsorEndDate": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"note": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "order",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "order"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"user": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "user"
},
"optional": true
},
"item": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "item"
},
"optional": true
},
"status": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "success"
},
{
"type": "string",
"value": "failed"
}
]
},
"optional": true
},
"date": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "sanity.imageCrop",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.imageCrop"
}
},
"top": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"bottom": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"left": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"right": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
}
}
}
},
{
"name": "sanity.imageHotspot",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.imageHotspot"
}
},
"x": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"y": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"height": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"width": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
}
}
}
},
{
"name": "sanity.imageAsset",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.imageAsset"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"originalFilename": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"label": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"altText": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"sha1hash": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"extension": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"mimeType": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"size": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"assetId": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"uploadId": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"path": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"url": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"metadata": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageMetadata"
},
"optional": true
},
"source": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.assetSourceData"
},
"optional": true
}
}
},
{
"name": "sanity.assetSourceData",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.assetSourceData"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"id": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"url": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
}
},
{
"name": "sanity.imageMetadata",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "sanity.imageMetadata"
}
},
"location": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "geopoint"
},
"optional": true
},
"dimensions": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageDimensions"
},
"optional": true
},
"palette": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imagePalette"
},
"optional": true
},
"lqip": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"blurHash": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"hasAlpha": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
},
"isOpaque": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
}
}
},
{
"name": "user",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "user"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"email": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"emailVerified": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"image": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"link": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"password": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"role": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "ADMIN"
},
{
"type": "string",
"value": "USER"
}
]
},
"optional": true
},
"accounts": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "account"
},
"optional": true
},
"stripeCustomerId": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "account",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "account"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"userId": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"type": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"provider": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"providerAccountId": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"refreshToken": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"accessToken": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"expiresAt": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"tokenType": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"scope": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"idToken": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"sessionState": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"user": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "user"
},
"optional": true
}
}
},
{
"name": "code",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "code"
}
},
"language": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"filename": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"code": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"highlightedLines": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "number"
}
},
"optional": true
}
}
}
},
{
"name": "markdown",
"type": "type",
"value": {
"type": "string"
}
},
{
"name": "media.tag",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "media.tag"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"name": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
}
}
},
{
"name": "slug",
"type": "type",
"value": {
"type": "object",
"attributes": {
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "slug"
}
},
"current": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"source": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
}
}
]