diff --git a/studio/schemas/objects/office.ts b/studio/schemas/objects/office.ts index b2dd48472..bd4f9030a 100644 --- a/studio/schemas/objects/office.ts +++ b/studio/schemas/objects/office.ts @@ -4,6 +4,7 @@ import { officeId } from "../documents/office"; const office = defineField({ name: "office", title: "Office", + description: "Reference to a company office", type: "reference", to: [{ type: officeId }], }); diff --git a/studio/schemas/objects/offices.ts b/studio/schemas/objects/offices.ts index 22d0190db..c906f4459 100644 --- a/studio/schemas/objects/offices.ts +++ b/studio/schemas/objects/offices.ts @@ -4,6 +4,7 @@ import office from "./office"; const offices = defineField({ name: "offices", title: "Offices", + description: "List of company offices", type: "array", of: [office], validation: (Rule) => Rule.required().min(1).unique(),