{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": "number",
      "const": 2
    },
    "id": {
      "type": "string",
      "maxLength": 128
    },
    "owner": {
      "type": "object",
      "properties": {
        "orcid": {
          "type": "string",
          "maxLength": 64
        },
        "openAlexAuthorIds": {
          "maxItems": 200,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 256
          }
        },
        "displayName": {
          "type": "string",
          "maxLength": 1000
        },
        "honorific": {
          "type": "string",
          "maxLength": 60
        },
        "headline": {
          "type": "string",
          "maxLength": 200
        },
        "summary": {
          "type": "string",
          "maxLength": 2000
        },
        "photo": {
          "type": "string",
          "maxLength": 1400000,
          "pattern": "^data:image\\/(jpeg|png|webp|gif);base64,[A-Za-z0-9+/]+={0,2}$"
        },
        "contact": {
          "type": "object",
          "properties": {
            "email": {
              "type": "string",
              "maxLength": 254
            },
            "phone": {
              "type": "string",
              "maxLength": 60
            },
            "website": {
              "type": "string",
              "maxLength": 2048
            },
            "location": {
              "type": "string",
              "maxLength": 200
            }
          }
        },
        "links": {
          "default": [],
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "label": {
                "type": "string",
                "maxLength": 120
              },
              "url": {
                "type": "string",
                "maxLength": 2048
              }
            },
            "required": ["label", "url"]
          }
        },
        "personal": {
          "type": "object",
          "properties": {
            "phoneticName": {
              "type": "string",
              "maxLength": 200
            },
            "dateOfBirth": {
              "type": "string",
              "maxLength": 40
            },
            "gender": {
              "type": "string",
              "maxLength": 40
            },
            "nationality": {
              "type": "string",
              "maxLength": 120
            },
            "address": {
              "type": "string",
              "maxLength": 400
            }
          }
        },
        "metrics": {
          "type": "object",
          "properties": {
            "2yr_mean_citedness": {
              "type": "number"
            },
            "h_index": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "i10_index": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "works_count": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "cited_by_count": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "fwci_mean": {
              "type": "number"
            },
            "fwci_n": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "top10pct_share": {
              "type": "number"
            },
            "rcr_mean": {
              "type": "number"
            },
            "rcr_n": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            }
          }
        },
        "countsByYear": {
          "default": [],
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "year": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "works": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "citations": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": ["year", "works", "citations"]
          }
        },
        "researchAreas": {
          "maxItems": 40,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "field": {
                "type": "string",
                "maxLength": 300
              },
              "count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": ["field", "count"]
          }
        },
        "wikidataUri": {
          "type": "string",
          "maxLength": 2048
        },
        "wikidataSameAs": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2048
          }
        }
      },
      "required": ["orcid", "openAlexAuthorIds", "displayName"]
    },
    "display": {
      "type": "object",
      "properties": {
        "template": {
          "default": "classic",
          "type": "string",
          "enum": ["classic", "modern", "sidebar", "ats", "rirekisho"]
        },
        "publicStyle": {
          "default": "match",
          "type": "string",
          "enum": [
            "match",
            "posology",
            "hanko",
            "pharmacopoeia",
            "codex",
            "ledger",
            "atelier",
            "folio",
            "meridian",
            "trajectory",
            "lumina",
            "chronicle",
            "prism",
            "pop",
            "neon",
            "synthwave",
            "terminal",
            "riso",
            "aura",
            "mesh",
            "marquee",
            "clockwork",
            "arcade",
            "meadow",
            "cyberpunk"
          ]
        },
        "showMascot": {
          "default": false,
          "type": "boolean"
        },
        "cslStyle": {
          "default": "apa",
          "type": "string",
          "maxLength": 200
        },
        "customStyle": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "title": {
              "type": "string",
              "maxLength": 300
            },
            "xml": {
              "type": "string",
              "minLength": 1,
              "maxLength": 600000
            }
          },
          "required": ["id", "title", "xml"]
        },
        "locale": {
          "default": "en-US",
          "type": "string",
          "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z0-9]{2,8})*$"
        },
        "highlightSelf": {
          "default": true,
          "type": "boolean"
        },
        "highlightStyle": {
          "default": "accent",
          "type": "string",
          "enum": ["accent", "bold", "underline", "accent-underline"]
        },
        "cvLicense": {
          "default": "none",
          "type": "string",
          "enum": ["none", "CC0-1.0", "CC-BY-4.0", "CC-BY-SA-4.0", "all-rights-reserved"]
        },
        "showMetrics": {
          "default": false,
          "type": "boolean"
        },
        "metrics": {
          "default": [],
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 64
          }
        },
        "showCharts": {
          "default": false,
          "type": "boolean"
        },
        "showResearchAreas": {
          "default": false,
          "type": "boolean"
        },
        "showOpenAccess": {
          "default": false,
          "type": "boolean"
        },
        "showOpenAccessShare": {
          "type": "boolean"
        },
        "summaryBlockPosition": {
          "default": "header",
          "type": "string",
          "enum": ["header", "top", "bottom", "hidden"]
        },
        "summaryHeading": {
          "type": "string",
          "maxLength": 120
        },
        "hideRetracted": {
          "default": false,
          "type": "boolean"
        },
        "showAuthorRole": {
          "default": false,
          "type": "boolean"
        },
        "showCitationCounts": {
          "default": false,
          "type": "boolean"
        },
        "showProvenance": {
          "default": false,
          "type": "boolean"
        },
        "peerReviewedOnly": {
          "default": false,
          "type": "boolean"
        },
        "countLetters": {
          "default": true,
          "type": "boolean"
        },
        "publicationOrder": {
          "default": "custom",
          "type": "string",
          "enum": ["custom", "citations", "year-desc", "year-asc"]
        },
        "publicationsLimit": {
          "type": "integer",
          "minimum": 0,
          "maximum": 500
        },
        "excludedItems": {
          "type": "object",
          "propertyNames": {
            "type": "string",
            "maxLength": 200
          },
          "additionalProperties": {
            "maxItems": 10000,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 200
            }
          }
        },
        "pageBreakBefore": {
          "default": [],
          "maxItems": 200,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 200
          }
        },
        "dismissedDuplicates": {
          "maxItems": 20000,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2200
          }
        },
        "dismissedReviewCandidates": {
          "maxItems": 20000,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 1024
          }
        },
        "sectionsCustomized": {
          "default": false,
          "type": "boolean"
        },
        "showAuthorshipTable": {
          "default": false,
          "type": "boolean"
        },
        "showOutputLedger": {
          "default": false,
          "type": "boolean"
        },
        "holdNewForReview": {
          "default": false,
          "type": "boolean"
        },
        "authorshipRoles": {
          "default": [],
          "maxItems": 50,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 64
          }
        },
        "accentColor": {
          "default": "#1f4fd8",
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "fontPairing": {
          "default": "serif",
          "type": "string",
          "enum": ["serif", "sans", "palatino"]
        },
        "density": {
          "default": "comfortable",
          "type": "string",
          "enum": ["comfortable", "compact"]
        },
        "fontScale": {
          "default": 1,
          "type": "number",
          "minimum": 0.8,
          "maximum": 1.25
        },
        "pageFormat": {
          "default": "a4",
          "type": "string",
          "enum": ["a4", "letter"]
        },
        "publicContact": {
          "default": {},
          "type": "object",
          "properties": {
            "email": {
              "default": false,
              "type": "boolean"
            },
            "phone": {
              "default": false,
              "type": "boolean"
            },
            "location": {
              "default": false,
              "type": "boolean"
            }
          }
        },
        "publicAttribution": {
          "default": true,
          "type": "boolean"
        },
        "showCoauthorLinks": {
          "default": false,
          "type": "boolean"
        },
        "showDocQr": {
          "default": false,
          "type": "boolean"
        },
        "coauthorLinkable": {
          "default": true,
          "type": "boolean"
        }
      }
    },
    "sections": {
      "maxItems": 60,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 200
          },
          "type": {
            "type": "string",
            "enum": [
              "publications",
              "preprints",
              "datasets",
              "positions",
              "education",
              "conference",
              "awards",
              "talks",
              "teaching",
              "supervision",
              "service",
              "peer-review",
              "editorial",
              "grants",
              "clinical-trials",
              "patents",
              "narrative-knowledge",
              "narrative-individuals",
              "narrative-community",
              "narrative-society",
              "statement",
              "skills",
              "languages",
              "references",
              "other"
            ]
          },
          "title": {
            "type": "string",
            "maxLength": 1000
          },
          "visible": {
            "type": "boolean"
          },
          "order": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "items": {
            "maxItems": 10000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "maxLength": 1024
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "openalex",
                    "orcid",
                    "oep",
                    "datacite",
                    "crossref",
                    "openaire",
                    "dblp",
                    "ukri",
                    "nih",
                    "nsf",
                    "clinicaltrials",
                    "ctis",
                    "ictrp",
                    "epo",
                    "derived",
                    "manual"
                  ]
                },
                "sourceId": {
                  "type": "string",
                  "maxLength": 2048
                },
                "csl": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "author": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "family": {
                            "type": "string"
                          },
                          "given": {
                            "type": "string"
                          },
                          "literal": {
                            "type": "string"
                          },
                          "dropping-particle": {
                            "type": "string"
                          },
                          "non-dropping-particle": {
                            "type": "string"
                          },
                          "suffix": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": {}
                      }
                    },
                    "editor": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "family": {
                            "type": "string"
                          },
                          "given": {
                            "type": "string"
                          },
                          "literal": {
                            "type": "string"
                          },
                          "dropping-particle": {
                            "type": "string"
                          },
                          "non-dropping-particle": {
                            "type": "string"
                          },
                          "suffix": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": {}
                      }
                    },
                    "issued": {
                      "type": "object",
                      "properties": {
                        "date-parts": {
                          "type": "array",
                          "items": {
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string"
                                }
                              ]
                            }
                          }
                        },
                        "raw": {
                          "type": "string"
                        },
                        "literal": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {}
                    },
                    "container-title": {
                      "type": "string"
                    },
                    "collection-title": {
                      "type": "string"
                    },
                    "publisher": {
                      "type": "string"
                    },
                    "publisher-place": {
                      "type": "string"
                    },
                    "volume": {
                      "type": "string"
                    },
                    "issue": {
                      "type": "string"
                    },
                    "page": {
                      "type": "string"
                    },
                    "number": {
                      "type": "string"
                    },
                    "DOI": {
                      "type": "string"
                    },
                    "URL": {
                      "type": "string"
                    },
                    "ISSN": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "ISBN": {
                      "type": "string"
                    },
                    "abstract": {
                      "type": "string"
                    },
                    "language": {
                      "type": "string"
                    }
                  },
                  "required": ["id", "type"],
                  "additionalProperties": false
                },
                "displayText": {
                  "type": "string",
                  "maxLength": 10000
                },
                "displayTextOverride": {
                  "type": "string",
                  "maxLength": 10000
                },
                "included": {
                  "type": "boolean"
                },
                "notMine": {
                  "default": false,
                  "type": "boolean"
                },
                "notMineAssertedAt": {
                  "type": "string"
                },
                "notMineReason": {
                  "type": "string",
                  "enum": ["different-person", "duplicate", "wrong-field", "other"]
                },
                "featured": {
                  "type": "boolean"
                },
                "order": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "authoredBySelf": {
                  "type": "boolean"
                },
                "selfNameVariants": {
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 300
                  }
                },
                "meta": {
                  "type": "object",
                  "properties": {
                    "year": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "type": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "doi": {
                      "type": "string",
                      "maxLength": 1000
                    },
                    "citedByCount": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "fwci": {
                      "type": "number"
                    },
                    "topDecile": {
                      "type": "boolean"
                    },
                    "oaStatus": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "oaIsOpen": {
                      "type": "boolean"
                    },
                    "oaUrl": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "license": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "pmid": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "rcr": {
                      "type": "number"
                    },
                    "retracted": {
                      "type": "boolean"
                    },
                    "rorId": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "institution": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "institutionNames": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 35
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 500
                      }
                    },
                    "institutionUrl": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "roleTitle": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "roleTitleOverride": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "department": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "departmentOverride": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "startYear": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "endYear": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "institutionOverride": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "dateRangeOverride": {
                      "type": "object",
                      "properties": {
                        "startYear": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "endYear": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      }
                    },
                    "funderId": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "funderName": {
                      "type": "string",
                      "maxLength": 1000
                    },
                    "awardId": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "lastVerifiedAt": {
                      "type": "string"
                    },
                    "authorRole": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "authorCount": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "authorPosition": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "isCorresponding": {
                      "type": "boolean"
                    },
                    "coauthorOrcids": {
                      "maxItems": 300,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 50
                      }
                    },
                    "matchBasis": {
                      "type": "string",
                      "enum": ["orcid", "openalex-id", "both", "claimed"]
                    },
                    "claimed": {
                      "type": "boolean"
                    },
                    "peerReviewed": {
                      "type": "boolean"
                    },
                    "enriched": {
                      "type": "boolean"
                    },
                    "reviewFlag": {
                      "type": "string",
                      "enum": [
                        "orcid-conflict",
                        "name-matched",
                        "orcid-doi",
                        "duplicate",
                        "likely-misattributed",
                        "held-for-review"
                      ]
                    },
                    "duplicateOf": {
                      "type": "object",
                      "properties": {
                        "itemId": {
                          "type": "string",
                          "maxLength": 1024
                        },
                        "tier": {
                          "default": "weak",
                          "type": "string",
                          "enum": ["exact", "related", "strong", "weak"]
                        },
                        "relationship": {
                          "type": "string",
                          "enum": [
                            "same-work",
                            "preprint-of",
                            "published-version-of",
                            "version-of",
                            "translation-of",
                            "erratum-of"
                          ]
                        },
                        "groupId": {
                          "type": "string",
                          "maxLength": 1024
                        }
                      },
                      "required": ["itemId", "groupId"]
                    },
                    "topic": {
                      "type": "object",
                      "properties": {
                        "field": {
                          "type": "string",
                          "maxLength": 300
                        },
                        "domain": {
                          "type": "string",
                          "maxLength": 300
                        }
                      }
                    },
                    "workInstitutions": {
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 2048
                      }
                    },
                    "misattribution": {
                      "type": "object",
                      "properties": {
                        "score": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        },
                        "signals": {
                          "maxItems": 4,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "no-coauthor-overlap",
                              "different-field",
                              "affiliation-novel",
                              "pre-career"
                            ]
                          }
                        }
                      },
                      "required": ["score", "signals"]
                    }
                  }
                }
              },
              "required": [
                "id",
                "source",
                "sourceId",
                "included",
                "order",
                "authoredBySelf",
                "selfNameVariants",
                "meta"
              ]
            }
          },
          "body": {
            "type": "string",
            "maxLength": 8000
          }
        },
        "required": ["id", "type", "title", "visible", "order", "items"]
      }
    },
    "presets": {
      "default": [],
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 60
          },
          "display": {
            "type": "object",
            "properties": {
              "template": {
                "default": "classic",
                "type": "string",
                "enum": ["classic", "modern", "sidebar", "ats", "rirekisho"]
              },
              "publicStyle": {
                "default": "match",
                "type": "string",
                "enum": [
                  "match",
                  "posology",
                  "hanko",
                  "pharmacopoeia",
                  "codex",
                  "ledger",
                  "atelier",
                  "folio",
                  "meridian",
                  "trajectory",
                  "lumina",
                  "chronicle",
                  "prism",
                  "pop",
                  "neon",
                  "synthwave",
                  "terminal",
                  "riso",
                  "aura",
                  "mesh",
                  "marquee",
                  "clockwork",
                  "arcade",
                  "meadow",
                  "cyberpunk"
                ]
              },
              "showMascot": {
                "default": false,
                "type": "boolean"
              },
              "cslStyle": {
                "default": "apa",
                "type": "string",
                "maxLength": 200
              },
              "customStyle": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128
                  },
                  "title": {
                    "type": "string",
                    "maxLength": 300
                  },
                  "xml": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 600000
                  }
                },
                "required": ["id", "title", "xml"]
              },
              "locale": {
                "default": "en-US",
                "type": "string",
                "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z0-9]{2,8})*$"
              },
              "highlightSelf": {
                "default": true,
                "type": "boolean"
              },
              "highlightStyle": {
                "default": "accent",
                "type": "string",
                "enum": ["accent", "bold", "underline", "accent-underline"]
              },
              "cvLicense": {
                "default": "none",
                "type": "string",
                "enum": ["none", "CC0-1.0", "CC-BY-4.0", "CC-BY-SA-4.0", "all-rights-reserved"]
              },
              "showMetrics": {
                "default": false,
                "type": "boolean"
              },
              "metrics": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                }
              },
              "showCharts": {
                "default": false,
                "type": "boolean"
              },
              "showResearchAreas": {
                "default": false,
                "type": "boolean"
              },
              "showOpenAccess": {
                "default": false,
                "type": "boolean"
              },
              "showOpenAccessShare": {
                "type": "boolean"
              },
              "summaryBlockPosition": {
                "default": "header",
                "type": "string",
                "enum": ["header", "top", "bottom", "hidden"]
              },
              "summaryHeading": {
                "type": "string",
                "maxLength": 120
              },
              "hideRetracted": {
                "default": false,
                "type": "boolean"
              },
              "showAuthorRole": {
                "default": false,
                "type": "boolean"
              },
              "showCitationCounts": {
                "default": false,
                "type": "boolean"
              },
              "showProvenance": {
                "default": false,
                "type": "boolean"
              },
              "peerReviewedOnly": {
                "default": false,
                "type": "boolean"
              },
              "countLetters": {
                "default": true,
                "type": "boolean"
              },
              "publicationOrder": {
                "default": "custom",
                "type": "string",
                "enum": ["custom", "citations", "year-desc", "year-asc"]
              },
              "publicationsLimit": {
                "type": "integer",
                "minimum": 0,
                "maximum": 500
              },
              "excludedItems": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "maxLength": 200
                },
                "additionalProperties": {
                  "maxItems": 10000,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 200
                  }
                }
              },
              "pageBreakBefore": {
                "default": [],
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 200
                }
              },
              "dismissedDuplicates": {
                "maxItems": 20000,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2200
                }
              },
              "dismissedReviewCandidates": {
                "maxItems": 20000,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 1024
                }
              },
              "sectionsCustomized": {
                "default": false,
                "type": "boolean"
              },
              "showAuthorshipTable": {
                "default": false,
                "type": "boolean"
              },
              "showOutputLedger": {
                "default": false,
                "type": "boolean"
              },
              "holdNewForReview": {
                "default": false,
                "type": "boolean"
              },
              "authorshipRoles": {
                "default": [],
                "maxItems": 50,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                }
              },
              "accentColor": {
                "default": "#1f4fd8",
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$"
              },
              "fontPairing": {
                "default": "serif",
                "type": "string",
                "enum": ["serif", "sans", "palatino"]
              },
              "density": {
                "default": "comfortable",
                "type": "string",
                "enum": ["comfortable", "compact"]
              },
              "fontScale": {
                "default": 1,
                "type": "number",
                "minimum": 0.8,
                "maximum": 1.25
              },
              "pageFormat": {
                "default": "a4",
                "type": "string",
                "enum": ["a4", "letter"]
              },
              "publicContact": {
                "default": {},
                "type": "object",
                "properties": {
                  "email": {
                    "default": false,
                    "type": "boolean"
                  },
                  "phone": {
                    "default": false,
                    "type": "boolean"
                  },
                  "location": {
                    "default": false,
                    "type": "boolean"
                  }
                }
              },
              "publicAttribution": {
                "default": true,
                "type": "boolean"
              },
              "showCoauthorLinks": {
                "default": false,
                "type": "boolean"
              },
              "showDocQr": {
                "default": false,
                "type": "boolean"
              },
              "coauthorLinkable": {
                "default": true,
                "type": "boolean"
              }
            }
          },
          "sectionVisibility": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "boolean"
            }
          },
          "sectionOrder": {
            "default": [],
            "maxItems": 500,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 200
            }
          }
        },
        "required": ["id", "name", "display"]
      }
    },
    "notes": {
      "type": "string",
      "maxLength": 10000
    },
    "provenance": {
      "type": "object",
      "properties": {
        "generatedAt": {
          "type": "string",
          "maxLength": 64
        },
        "lastSyncedAt": {
          "type": "string",
          "maxLength": 64
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "openalex",
              "orcid",
              "oep",
              "crossref",
              "datacite",
              "openaire",
              "dblp",
              "ukri",
              "nih",
              "nsf",
              "clinicaltrials",
              "ctis",
              "ictrp",
              "epo",
              "ror",
              "wikidata",
              "derived",
              "manual"
            ]
          }
        }
      },
      "required": ["generatedAt", "sources"]
    }
  },
  "required": ["schemaVersion", "id", "owner", "display", "sections", "provenance"],
  "$id": "https://sigmacv.org/schema/cv/v2.json",
  "title": "SigmaCV canonical CV",
  "description": "The canonical CV object SigmaCV produces and validates (schemaVersion 2). Derived from the Zod schema; source at https://github.com/BasileChretien/sigmacv."
}
