{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://scient.ing/ns/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 }