dotsy · Schema

UpdateBriefRequest

A site brief edit, or — with `?page=` — a page brief edit.

CompanyArtificial IntelligenceWebsite BuilderNo-CodeFree
View JSON Schema on GitHub

JSON Schema

dotsy-ai-update-brief-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-update-brief-request-schema.json",
  "title": "UpdateBriefRequest",
  "description": "A site brief edit, or — with `?page=` — a page brief edit.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-brief-api-openapi.yml#/components/schemas/UpdateBriefRequest",
  "anyOf": [
    {
      "$ref": "#/$defs/UpdateSiteBriefRequest"
    },
    {
      "$ref": "#/$defs/UpdatePageBriefRequest"
    }
  ],
  "$defs": {
    "UpdatePageBriefRequest": {
      "type": "object",
      "properties": {
        "head": {
          "type": "object",
          "properties": {
            "purpose": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 280
            },
            "design": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "direction": {
                  "type": "string",
                  "maxLength": 80
                },
                "hero": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "additionalProperties": false
            }
          }
        },
        "body": {
          "type": "string",
          "maxLength": 10000
        },
        "goal": {
          "type": "string",
          "maxLength": 2000
        },
        "notes": {
          "type": "string",
          "maxLength": 2000
        }
      },
      "description": "Page brief edit (with `?page=`). Send at least one of `head`, `body`, `goal`, `notes`."
    },
    "UpdateSiteBriefRequest": {
      "type": "object",
      "properties": {
        "head": {
          "type": "object",
          "properties": {
            "purpose": {
              "type": "string",
              "minLength": 5,
              "maxLength": 280
            },
            "audience": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 200
            },
            "kind": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "exploration",
                "production"
              ]
            },
            "priorities": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "seo": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "must",
                    "nice",
                    "skip"
                  ]
                },
                "analytics": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "must",
                    "nice",
                    "skip"
                  ]
                },
                "design": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "must",
                    "nice",
                    "skip"
                  ]
                },
                "mobile": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "must",
                    "nice",
                    "skip"
                  ]
                }
              }
            },
            "editingModel": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "ai",
                "simple-editor",
                "creator"
              ]
            },
            "sections": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string",
                "maxLength": 60
              },
              "maxItems": 20
            },
            "design": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "palette": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 8
                },
                "type": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 6
                },
                "layout": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 80
                }
              },
              "additionalProperties": false
            },
            "business": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 120
                },
                "type": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "Organization",
                    "LocalBusiness",
                    "ProfessionalService",
                    "Store",
                    "Restaurant",
                    "Dentist",
                    "MedicalBusiness",
                    "HomeAndConstructionBusiness"
                  ]
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 300
                },
                "address": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "street": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 120
                    },
                    "city": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 120
                    },
                    "region": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 120
                    },
                    "postalCode": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 120
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 120
                    }
                  },
                  "additionalProperties": false
                },
                "phone": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 40
                },
                "email": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120,
                  "format": "email"
                },
                "hours": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 200
                },
                "areaServed": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 200
                },
                "sameAs": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string",
                    "maxLength": 300
                  },
                  "maxItems": 8
                },
                "foundingYear": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "minimum": 1000,
                  "maximum": 2100
                },
                "logo": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 300
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 300
                }
              },
              "additionalProperties": false
            },
            "authors": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "role": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "url": {
                    "type": "string",
                    "maxLength": 300
                  },
                  "image": {
                    "type": "string",
                    "maxLength": 300
                  },
                  "sameAs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300
                    },
                    "maxItems": 4
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              },
              "maxItems": 20
            },
            "rules": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^[a-z0-9-]{2,40}$"
                  },
                  "card": {
                    "type": "string",
                    "enum": [
                      "intent",
                      "design",
                      "content",
                      "seo"
                    ]
                  },
                  "text": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 160
                  },
                  "level": {
                    "type": "string",
                    "enum": [
                      "block",
                      "warn"
                    ]
                  },
                  "locked": {
                    "type": "boolean"
                  },
                  "check": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "title-max"
                            ]
                          },
                          "max": {
                            "type": "integer",
                            "minimum": 10,
                            "maximum": 300
                          }
                        },
                        "required": [
                          "type",
                          "max"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "title-suffix"
                            ]
                          },
                          "suffix": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 60
                          }
                        },
                        "required": [
                          "type",
                          "suffix"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "description-length"
                            ]
                          },
                          "min": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          "max": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 1000
                          }
                        },
                        "required": [
                          "type",
                          "min",
                          "max"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "one-h1"
                            ]
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "banned-words"
                            ]
                          },
                          "words": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 40
                            },
                            "minItems": 1,
                            "maxItems": 50
                          }
                        },
                        "required": [
                          "type",
                          "words"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "image-alt"
                            ]
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "allowed-colors"
                            ]
                          },
                          "colors": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "pattern": "^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$"
                            },
                            "minItems": 1,
                            "maxItems": 24
                          }
                        },
                        "required": [
                          "type",
                          "colors"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "allowed-fonts"
                            ]
                          },
                          "fonts": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 60
                            },
                            "minItems": 1,
                            "maxItems": 12
                          }
                        },
                        "required": [
                          "type",
                          "fonts"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "card",
                  "text"
                ],
                "additionalProperties": false
              },
              "maxItems": 30
            }
          }
        },
        "body": {
          "type": "string",
          "maxLength": 50000
        },
        "goal": {
          "type": "string",
          "maxLength": 4000
        },
        "notes": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 4000
            },
            {
              "type": "object",
              "properties": {
                "design": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 4000
                },
                "content": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 4000
                },
                "seo": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 4000
                }
              },
              "additionalProperties": false
            }
          ]
        },
        "appendHandoff": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        "rules": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9-]{2,40}$"
              },
              "card": {
                "type": "string",
                "enum": [
                  "intent",
                  "design",
                  "content",
                  "seo"
                ]
              },
              "text": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "level": {
                "type": "string",
                "enum": [
                  "block",
                  "warn"
                ]
              },
              "locked": {
                "type": "boolean"
              },
              "check": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "title-max"
                        ]
                      },
                      "max": {
                        "type": "integer",
                        "minimum": 10,
                        "maximum": 300
                      }
                    },
                    "required": [
                      "type",
                      "max"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "title-suffix"
                        ]
                      },
                      "suffix": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 60
                      }
                    },
                    "required": [
                      "type",
                      "suffix"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "description-length"
                        ]
                      },
                      "min": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000
                      },
                      "max": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 1000
                      }
                    },
                    "required": [
                      "type",
                      "min",
                      "max"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "one-h1"
                        ]
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "banned-words"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 40
                        },
                        "minItems": 1,
                        "maxItems": 50
                      }
                    },
                    "required": [
                      "type",
                      "words"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "image-alt"
                        ]
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "allowed-colors"
                        ]
                      },
                      "colors": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$"
                        },
                        "minItems": 1,
                        "maxItems": 24
                      }
                    },
                    "required": [
                      "type",
                      "colors"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "allowed-fonts"
                        ]
                      },
                      "fonts": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 60
                        },
                        "minItems": 1,
                        "maxItems": 12
                      }
                    },
                    "required": [
                      "type",
                      "fonts"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "card",
              "text"
            ],
            "additionalProperties": false
          },
          "maxItems": 30
        },
        "removeRules": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-z0-9-]{2,40}$"
          },
          "maxItems": 30
        }
      },
      "description": "Site brief edit. Send at least one of `head`, `body`, `goal`, `notes`, `rules`, `removeRules`, `appendHandoff`. A first write must include `head.purpose`, or `head.business` / `head.authors` (the purpose is then taken from the business name, or the site slug). `head.business` and `head.authors` reach live pages at the next publish. `notes` is a string (the free-form notes) or `{ design, content, seo }` (per-section notes). `rules` upserts rules and guidelines by id; `removeRules` deletes by id."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dotsy-ai-update-brief-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.