{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://arkid.researchark.eu/reference-catalogue.schema.json",
  "title": "ArkID Reference Catalogue",
  "description": "Centralised controlled vocabularies shared across ArkID subsystems. Includes enumerations sourced from the European Commission Partnership Templates v2.5 and additional global catalogues.",
  "type": "object",
  "version": "0.2.0",
  "sources": {
    "ecPartnershipTemplate": {
      "version": "2.5",
      "published": "2024-06-26",
      "url": "https://partnerships.ec.europa.eu"
    }
  },
  "$defs": {
    "arkidIdentifier": {
      "type": "string",
      "pattern": "^(ARK[UOPKDF])-\\d{4}-\\d{4}-\\d{4}-\\d{3}[0-9X]$",
      "description": "Generic ArkID identifier pattern covering ARKU, ARKO, ARKP, ARKI, ARKD, and ARKF entities."
    },
    "arkfIdentifier": {
      "type": "string",
      "pattern": "^ARKF-\\d{4}-\\d{4}-\\d{4}-\\d{3}[0-9X]$",
      "description": "ArkID identifier for funding opportunities or calls."
    },
    "arkpIdentifier": {
      "type": "string",
      "pattern": "^ARKP-\\d{4}-\\d{4}-\\d{4}-\\d{3}[0-9X]$",
      "description": "ArkID identifier for projects."
    },
    "arkoIdentifier": {
      "type": "string",
      "pattern": "^ARKO-\\d{4}-\\d{4}-\\d{4}-\\d{3}[0-9X]$",
      "description": "ArkID identifier for organisations."
    },
    "arkiIdentifier": {
      "type": "string",
      "pattern": "^ARKI-\\d{4}-\\d{4}-\\d{4}-\\d{3}[0-9X]$",
      "description": "ArkID identifier for ideas."
    },
    "arkuIdentifier": {
      "type": "string",
      "pattern": "^ARKU-\\d{4}-\\d{4}-\\d{4}-\\d{3}[0-9X]$",
      "description": "ArkID identifier for users (researchers)."
    },
    "arkdIdentifier": {
      "type": "string",
      "pattern": "^ARKD-\\d{4}-\\d{4}-\\d{4}-\\d{3}[0-9X]$",
      "description": "ArkID identifier for products/outputs."
    },
    "picNumber": {
      "type": "integer",
      "minimum": 100000000,
      "maximum": 999999999,
      "description": "Nine-digit Participant Identification Code (PIC) value as used by the EC."
    },
    "picString": {
      "type": "string",
      "pattern": "^\\d{9}$",
      "description": "Nine-digit Participant Identification Code (PIC) value encoded as a string."
    },
    "organizationType": {
      "type": "string",
      "enum": [
        "Research Institution",
        "Educational Institution",
        "Non-Profit Organization (NPO)",
        "Public Sector Organization",
        "Micro, Small, and Medium Enterprises (MSMEs)",
        "Start-up",
        "Large Enterprise",
        "International Organization",
        "National Consortium",
        "Transnational Consortium",
        "Other (Organization)"
      ]
    },
    "actionType": {
      "type": "string",
      "enum": [
        "Art 185",
        "HORIZON-COFUND",
        "HORIZON-EIT-KIC"
      ]
    },
    "partnershipName": {
      "type": "string",
      "enum": [
        "AMR",
        "AgriData",
        "Animal",
        "Biodiv",
        "BlueEcon",
        "CleanEnergy",
        "EIT-Climate-KIC",
        "EIT-Culture-Creativity",
        "EIT-Digital",
        "EIT-Food",
        "EIT-Health",
        "EIT-InnoEnergy",
        "EIT-Manufacturing",
        "EIT-Raw-Materials",
        "EIT-Urban-Mobility",
        "ERA4Health",
        "Farm",
        "Food",
        "HealthCare",
        "Metrology",
        "PersMed",
        "Rare",
        "RiskChem",
        "SME",
        "Urban",
        "Water4all"
      ]
    },
    "partnershipType": {
      "type": "string",
      "enum": [
        "CO-FUNDED",
        "CO-PROGRAMMED",
        "INSTITUTIONALISED"
      ]
    },
    "eitActivityCategory": {
      "type": "string",
      "enum": [
        "EIT Cross-KIC",
        "EIT HEI",
        "EIT RIS",
        "Education",
        "Entrepreneurship",
        "Innovation and Research",
        "Management",
        "Other"
      ]
    },
    "eitArea": {
      "type": "string",
      "enum": [
        "EIT Cross-KIC Scheme",
        "EIT Regional Innovation Scheme",
        "Education",
        "Entrepreneurship",
        "HEI Capacity Building",
        "Innovation and Research",
        "Management",
        "KIC Activity",
        "Other"
      ]
    },
    "booleanYesNo": {
      "type": "string",
      "enum": [
        "Yes",
        "No"
      ]
    },
    "booleanYesNoMissing": {
      "type": "string",
      "enum": [
        "Yes",
        "No",
        "Missing"
      ]
    },
    "participantRole": {
      "type": "string",
      "enum": [
        "COORDINATOR",
        "PARTICIPANT"
      ]
    },
    "participantType": {
      "type": "string",
      "enum": [
        "AFFILIATED_ENTITY",
        "ASSOCIATED_PARTNER",
        "BENEFICIARY",
        "THIRDPARTYRECEIVINGFINSUPPORT"
      ]
    },
    "partnerRemovalStatus": {
      "type": "string",
      "enum": [
        "NOT_ACCEDED",
        "TERMINATED"
      ]
    },
    "genderCode": {
      "type": "string",
      "enum": [
        "F",
        "M",
        "X"
      ]
    },
    "careerStage": {
      "type": "string",
      "enum": [
        "A",
        "B",
        "C",
        "D"
      ]
    },
    "contractDuration": {
      "type": "string",
      "enum": [
        "Long",
        "Short"
      ]
    },
    "contributionScale": {
      "type": "string",
      "enum": [
        "High",
        "Medium",
        "Low"
      ]
    },
    "researcherRole": {
      "type": "string",
      "enum": [
        "Leading",
        "Team Member",
        "PhD candidate"
      ]
    },
    "identifierType": {
      "type": "string",
      "enum": [
        "Google Scholar",
        "ORCID",
        "Other",
        "Researcher Id",
        "SCOPUS Author Id"
      ]
    },
    "proposalStage": {
      "type": "integer",
      "enum": [
        0,
        1,
        2
      ]
    },
    "stageExitStatus": {
      "type": "string",
      "enum": [
        "DUPLICATE",
        "INADMISSIBLE",
        "INELIGIBLE",
        "MAIN",
        "NO_MONEY",
        "REJECTED",
        "RESERVE",
        "WITHDRAWN"
      ]
    },
    "projectStatus": {
      "type": "string",
      "enum": [
        "UNDER_PREPARATION",
        "SIGNED",
        "SUSPENDED",
        "TERMINATED",
        "REJECTED",
        "CLOSED"
      ]
    },
    "kpiCode": {
      "type": "string",
      "enum": [
        "EITHE02.1",
        "EITHE02.2",
        "EITHE02.4",
        "EITHE03.1",
        "EITHE03.2",
        "EITHE04.1",
        "EITHE04.2",
        "EITHE04.4",
        "EITHE05.1",
        "EITHE05.2",
        "EITHE06.1",
        "EITHE06.2",
        "EITHE07.1",
        "EITHE07.2",
        "EITHE08.1",
        "EITHE08.2",
        "EITHE10.1",
        "EITHE10.2",
        "EITHE11.1",
        "EITHE11.2",
        "EITHE12.1",
        "EITHE13.1",
        "EITHE18.1",
        "EITHE20.1",
        "EITHE22.2"
      ]
    },
    "coreKpiArea": {
      "type": "string",
      "enum": [
        "Business Creation",
        "Education",
        "Horizontal Outputs",
        "Innovation",
        "Knowledge Triangle Integration",
        "Leveraging Investments in R and I",
        "RIS-Specific Indicators",
        "Strengthening entrepreneurship and innovation capacity of higher education institutions"
      ]
    },
    "countryCode": {
      "type": "string",
      "enum": [
        "AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AZ",
        "BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ",
        "CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CR","CU","CV","CW","CX","CY","CZ",
        "DE","DJ","DK","DM","DO","DZ",
        "EC","EE","EG","EH","EL","ER","ES","ET",
        "FI","FJ","FK","FM","FO","FR",
        "GA","GD","GE","GG","GH","GI","GL","GM","GN","GQ","GT","GU","GW","GY",
        "HK","HM","HN","HR","HT","HU",
        "ID","IE","IL","IM","IN","IQ","IR","IS","IT",
        "JE","JM","JO","JP",
        "KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ",
        "LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY",
        "MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MO","MP","MR","MT","MU","MV","MW","MX","MY","MZ",
        "NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ",
        "OM",
        "PA","PE","PF","PG","PH","PK","PL","PM","PR","PS","PT","PW","PY",
        "QA",
        "RE","RO","RS","RU","RW",
        "SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ",
        "TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ",
        "UA","UG","UK","UM","US","UY","UZ",
        "VA","VC","VE","VG","VI","VN","VU",
        "WF","WS",
        "XK",
        "YE","YT",
        "ZA","ZM","ZW"
      ]
    },
    "currencyCode": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "description": "ISO 4217 currency code."
    },
    "ecDate": {
      "type": "string",
      "pattern": "^(202[1-9]|20[3-9][0-9]|21\\d\\d)-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$",
      "description": "ISO-8601 calendar date not earlier than 2021-01-01, matching EC XSD minInclusive constraints."
    },
    "ecEmail": {
      "type": "string",
      "pattern": "^[^@]+@[^\\.]+\\..+$",
      "minLength": 6,
      "maxLength": 256,
      "description": "Email address pattern compatible with EC XML schema restrictions."
    }
  }
}
