First implementation (#1)
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
1 parent
34c0abb26a
commit
4fa326dc76
534 files changed
+28280
-37
No files matched your search
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://paperspec.scient.ing/schemas/profile.schema.json",
|
||||
"title": "Team profile",
|
||||
"description": "scienting-profile/1: what backend conditions ask about a team; spec/14-rights.md.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"format": {
|
||||
"const": "scienting-profile/1"
|
||||
},
|
||||
"team": {
|
||||
"$ref": "common.schema.json#/$defs/key"
|
||||
},
|
||||
"purpose": {
|
||||
"enum": [
|
||||
"research",
|
||||
"personal",
|
||||
"education",
|
||||
"startup",
|
||||
"commercial"
|
||||
]
|
||||
},
|
||||
"revenue_or_funding_usd": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"at_most": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"at_most"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"competes_with": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"recorded_by": {
|
||||
"$ref": "common.schema.json#/$defs/key"
|
||||
},
|
||||
"at": {
|
||||
"$ref": "common.schema.json#/$defs/time"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"format",
|
||||
"team",
|
||||
"purpose",
|
||||
"revenue_or_funding_usd",
|
||||
"competes_with",
|
||||
"recorded_by",
|
||||
"at"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user