Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export default {
- title: "Success criterion",
- name: "successCriterion",
- type: "document",
- fields: [
- {
- name: "name",
- type: "string",
- title: "Success criterion name",
- },
- {
- type: "string",
- title: "Related success criterion",
- name: "accessibilityRelatedSuccessCriterion",
- type: "array",
- of: [
- {
- type: "reference",
- to: [{ type: "successCriterion" }],
- },
- ],
- },
- {
- name: "category",
- type: "string",
- title: "Category",
- options: {
- list: [
- { title: "A", value: "A" },
- { title: "AA", value: "AA" },
- { title: "AAA", value: "AAA" },
- { title: "Inklud", value: "Inklud" },
- ],
- },
- },
- {
- name: "criterionDescription",
- type: "blockContent",
- title: "Success criterion description",
- },
- {
- name: "criterionSummary",
- type: "blockContent",
- title: "Success criterion pass/fail summary",
- },
- {
- title: "Failure criterions",
- name: "failureCriterions",
- type: "array",
- of: [{ type: "failureCriterion" }],
- },
- {
- name: "successStatus",
- type: "boolean",
- title: "Failed/Passed",
- },
- ],
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement