Skip to content

Commit

Permalink
Merge pull request #440 from M-L-D-H/xk
Browse files Browse the repository at this point in the history
fix keywords
  • Loading branch information
XeniaMonika authored Jan 12, 2024
2 parents 4371958 + 33a7b69 commit 956a03b
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"ref": []
}
],
"keywords": ["collaboration_platform", "research_infrastructure"],
"keywords": ["collaboration_platform"],
"comment": ""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"ref": []
}
],
"keywords": [],
"keywords": ["research_infrastructure"],
"comment": ""
}
}
2 changes: 1 addition & 1 deletion PROJECTS/fdnext/2fd5c31a-17a5-41ea-ae62-b6c2d3921cf5.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
"ref": []
}
],
"keywords": ["research_data_management"],
"keywords": ["research_data_management", "research_infrastructure"],
"comment": ""
}
}
4 changes: 2 additions & 2 deletions PROJECTS/fihrist/9734b5c3-fa35-4e45-878e-1deb62db97d5.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@
"jewish_studies",
"manuscript",
"semitic_studies",
"turkology",
"tei"
"tei",
"turkology"
],
"comment": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"ref": []
}
],
"keywords": [],
"keywords": ["research_infrastructure"],
"comment": ""
}
}
3 changes: 1 addition & 2 deletions PROJECTS/hpm/da4755a8-5d05-4bda-8d2e-afab81c7ce27.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@
"corpus_output",
"digital_preservation",
"digital_publishing",
"inscription",
"research_infrastructure"
"inscription"
],
"comment": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@
],
"keywords": [
"arabic_studies",
"iranian_studies",
"turkology",
"digital_preservation",
"catalog",
"manuscript"
"digital_preservation",
"iranian_studies",
"manuscript",
"turkology"
],
"comment": ""
}
Expand Down
2 changes: 1 addition & 1 deletion PROJECTS/mela/377201a9-9b09-4a6b-b5e8-873190633e78.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"ref": []
}
],
"keywords": ["collaboration_platform", "research_infrastructure"],
"keywords": ["collaboration_platform"],
"comment": ""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"ref": []
}
],
"keywords": [],
"keywords": ["research_infrastructure"],
"comment": "The website of the project may not work, you can find further information on the website of the funding institution (DFG:GEPRIS)."
}
}
4 changes: 2 additions & 2 deletions PROJECTS/ocimco/97408d45-9570-4cad-a623-6007573bf070.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@
"jewish_studies",
"manuscript",
"semitic_studies",
"turkology",
"tei"
"tei",
"turkology"
],
"comment": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
"digital_preservation",
"lexicon",
"manuscript",
"science_history",
"philosophy"
"philosophy",
"science_history"
],
"comment": ""
}
Expand Down
2 changes: 1 addition & 1 deletion PROJECTS/pudel/3c5fd869-4651-414c-a0f1-b1254712b689.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"ref": []
}
],
"keywords": ["research_data_management"],
"keywords": ["research_data_management", "research_infrastructure"],
"comment": "The project is still ongoing (as of 05.04.2022)"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"ref": []
}
],
"keywords": ["research_data_management"],
"keywords": ["research_data_management", "research_infrastructure"],
"comment": ""
}
}
58 changes: 29 additions & 29 deletions SCHEMATA/project_schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const projectSchema = z
z.literal(""),
]),
})
.strict(),
.strict()
)
.describe("List of active periods (YYYY-MM-DD)"),
maintained: z
Expand Down Expand Up @@ -125,13 +125,13 @@ export const projectSchema = z
})
.strict(),
})
.strict(),
.strict()
)
.describe("Location(s) of the project"),
lang: z
.array(z.string().regex(isoCode))
.describe(
"List of languages used in the project's output (ISO-639-3 codes)",
"List of languages used in the project's output (ISO-639-3 codes)"
),
related_institutions: z
.array(
Expand All @@ -150,10 +150,10 @@ export const projectSchema = z
.array(z.string().url())
.describe("List of institutional website URLs"),
})
.strict(),
.strict()
)
.describe(
"Universities or research organizations which host the project",
"Universities or research organizations which host the project"
),
related_entities: z
.array(
Expand All @@ -168,7 +168,7 @@ export const projectSchema = z
title: z.string(),
uuid: z.string().uuid(),
})
.strict(),
.strict()
)
.describe("Entities that are related to the project"),
contacts: z
Expand All @@ -186,29 +186,29 @@ export const projectSchema = z
roles: z
.array(z.enum(rolesEnum))
.describe(
"Roles held by the contact (following the CRediT taxonomy)",
"Roles held by the contact (following the CRediT taxonomy)"
),
websites: z
.array(z.string().url())
.describe(
"List of institutional and/or personal website URLs",
"List of institutional and/or personal website URLs"
),
})
.strict(),
.strict()
)
.describe("Main contact(s) of the project"),
research_data: z
.object({
lang: z
.array(z.string().regex(isoCode))
.describe(
"List of languages of the project's research data (ISO-639-3 codes)",
"List of languages of the project's research data (ISO-639-3 codes)"
),
sustainability_plan: z
.boolean()
.nullable()
.describe(
"Is there a plan to ensure the sustainability and reusability of the project's research data and output?",
"Is there a plan to ensure the sustainability and reusability of the project's research data and output?"
),
publications: z
.object({
Expand All @@ -218,15 +218,15 @@ export const projectSchema = z
.min(0)
.max(100)
.describe(
"Approximate percentage of publications that are available open-access",
"Approximate percentage of publications that are available open-access"
),
licensing: z
.array(z.string())
.describe("List of licenses that apply to publications"),
})
.strict()
.describe(
"Information about publication accessibility and licensing",
"Information about publication accessibility and licensing"
),
data: z
.object({
Expand All @@ -239,21 +239,21 @@ export const projectSchema = z
licensing: z
.array(z.string())
.describe(
"List of licenses that apply to the datatype",
"List of licenses that apply to the datatype"
),
open_access: z
.number()
.int()
.min(0)
.max(100)
.describe(
"Approximate percentage of this datatype available open-access",
"Approximate percentage of this datatype available open-access"
),
})
.strict(),
.strict()
)
.describe(
"List of datatypes contained in the project's research data",
"List of datatypes contained in the project's research data"
),
repositories: z
.array(
Expand All @@ -265,21 +265,21 @@ export const projectSchema = z
accessibility: z
.enum(["private", "public"])
.describe(
"Repository accessibility (private | public)",
"Repository accessibility (private | public)"
),
ref: z
.array(z.string().url())
.describe("List of repository URLs (if applicable)"),
licensing: z
.array(z.string())
.describe(
"List of licenses that apply to the repository",
"List of licenses that apply to the repository"
),
description: z
.string()
.describe("Description of repository contents"),
})
.strict(),
.strict()
)
.describe("Information about local or remote repositories"),
})
Expand All @@ -295,16 +295,16 @@ export const projectSchema = z
description: z
.string()
.describe(
"Description of the policy, e.g. 'Research Data Policy'",
"Description of the policy, e.g. 'Research Data Policy'"
),
ref: z
.array(z.string().url())
.describe("List of URLs relevant to the policy"),
})
.strict(),
.strict()
)
.describe(
"Information about policies (e.g. RDP, RDM, OA) applicable to the project and its publications and data",
"Information about policies (e.g. RDP, RDM, OA) applicable to the project and its publications and data"
),
stack: z
.object({
Expand All @@ -320,7 +320,7 @@ export const projectSchema = z
languages: z
.array(z.string())
.describe(
"List of programming languages (defined broadly) in use",
"List of programming languages (defined broadly) in use"
),
tools: z
.array(
Expand All @@ -336,10 +336,10 @@ export const projectSchema = z
description: z
.string()
.describe(
"Description of the tool's purpose in the context of the project",
"Description of the tool's purpose in the context of the project"
),
})
.strict(),
.strict()
)
.describe("List of tools that are used in the project"),
})
Expand All @@ -350,8 +350,8 @@ export const projectSchema = z
z
.enum(keywordsEnum)
.describe(
"Use lowercase letters, with underscore as a separator where needed",
),
"Use lowercase letters, with underscore as a separator where needed"
)
)
.describe("List of keywords to describe the project"),
comment: z
Expand All @@ -363,5 +363,5 @@ export const projectSchema = z
})
.strict()
.describe(
"Project that deals in some way with the digital humanities, research data management, non-Latin scripts, or infrastructure",
"Project that deals in some way with the digital humanities, research data management, non-Latin scripts, or infrastructure"
);

0 comments on commit 956a03b

Please sign in to comment.