Advertisement
Guest User

Untitled

a guest
Mar 15th, 2021
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export default {
  2.   title: "Success criterion",
  3.   name: "successCriterion",
  4.   type: "document",
  5.   fields: [
  6.     {
  7.       name: "name",
  8.       type: "string",
  9.       title: "Success criterion name",
  10.     },
  11.     {
  12.       type: "string",
  13.       title: "Related success criterion",
  14.       name: "accessibilityRelatedSuccessCriterion",
  15.       type: "array",
  16.       of: [
  17.         {
  18.           type: "reference",
  19.           to: [{ type: "successCriterion" }],
  20.         },
  21.       ],
  22.     },
  23.     {
  24.       name: "category",
  25.       type: "string",
  26.       title: "Category",
  27.       options: {
  28.         list: [
  29.           { title: "A", value: "A" },
  30.           { title: "AA", value: "AA" },
  31.           { title: "AAA", value: "AAA" },
  32.           { title: "Inklud", value: "Inklud" },
  33.         ],
  34.       },
  35.     },
  36.     {
  37.       name: "criterionDescription",
  38.       type: "blockContent",
  39.       title: "Success criterion description",
  40.     },
  41.     {
  42.       name: "criterionSummary",
  43.       type: "blockContent",
  44.       title: "Success criterion pass/fail summary",
  45.     },
  46.     {
  47.       title: "Failure criterions",
  48.       name: "failureCriterions",
  49.       type: "array",
  50.       of: [{ type: "failureCriterion" }],
  51.     },
  52.     {
  53.       name: "successStatus",
  54.       type: "boolean",
  55.       title: "Failed/Passed",
  56.     },
  57.   ],
  58. };
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement