|
| 1 | +{ |
| 2 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | + "$id": "https://omen/specs/006-startup-case-replay/contracts/strategy-ontology-output.schema.json", |
| 4 | + "title": "StrategyOntologyOutput", |
| 5 | + "type": "object", |
| 6 | + "additionalProperties": true, |
| 7 | + "required": [ |
| 8 | + "meta", |
| 9 | + "tbox", |
| 10 | + "abox", |
| 11 | + "reasoning_profile", |
| 12 | + "tech_space_ontology", |
| 13 | + "market_space_ontology", |
| 14 | + "shared_actors", |
| 15 | + "case_package", |
| 16 | + "scenario_id", |
| 17 | + "name", |
| 18 | + "time_steps", |
| 19 | + "seed", |
| 20 | + "actors", |
| 21 | + "capabilities" |
| 22 | + ], |
| 23 | + "properties": { |
| 24 | + "meta": { |
| 25 | + "type": "object", |
| 26 | + "required": ["version", "case_id", "domain", "strategy"], |
| 27 | + "properties": { |
| 28 | + "version": { "type": "string" }, |
| 29 | + "case_id": { "type": "string" }, |
| 30 | + "domain": { "type": "string" }, |
| 31 | + "strategy": { "type": "string", "minLength": 1 } |
| 32 | + } |
| 33 | + }, |
| 34 | + "tbox": { |
| 35 | + "type": "object", |
| 36 | + "required": ["concepts", "relations", "axioms"], |
| 37 | + "properties": { |
| 38 | + "concepts": { |
| 39 | + "type": "array", |
| 40 | + "minItems": 1, |
| 41 | + "items": { |
| 42 | + "type": "object", |
| 43 | + "required": ["name", "category"], |
| 44 | + "properties": { |
| 45 | + "name": { "type": "string", "minLength": 1 }, |
| 46 | + "description": { "type": "string" }, |
| 47 | + "category": { |
| 48 | + "type": "string", |
| 49 | + "enum": ["actor", "capability", "constraint", "event", "outcome", "game", "other"] |
| 50 | + } |
| 51 | + } |
| 52 | + } |
| 53 | + }, |
| 54 | + "relations": { "type": "array", "minItems": 1 }, |
| 55 | + "axioms": { "type": "array", "minItems": 1 } |
| 56 | + } |
| 57 | + }, |
| 58 | + "abox": { |
| 59 | + "type": "object", |
| 60 | + "required": ["actors", "capabilities", "constraints"], |
| 61 | + "properties": { |
| 62 | + "actors": { |
| 63 | + "type": "array", |
| 64 | + "minItems": 1, |
| 65 | + "items": { |
| 66 | + "type": "object", |
| 67 | + "required": ["actor_id", "actor_type", "role"], |
| 68 | + "properties": { |
| 69 | + "actor_id": { "type": "string", "minLength": 1 }, |
| 70 | + "actor_type": { "type": "string", "enum": ["Actor", "StrategicActor"] }, |
| 71 | + "role": { "type": "string", "minLength": 1 }, |
| 72 | + "shared_id": { "type": ["string", "null"] }, |
| 73 | + "labels": { "type": "array", "items": { "type": "string" } }, |
| 74 | + "profile": { "type": "object" } |
| 75 | + }, |
| 76 | + "additionalProperties": true |
| 77 | + } |
| 78 | + }, |
| 79 | + "capabilities": { "type": "array", "minItems": 1 }, |
| 80 | + "constraints": { "type": "array", "minItems": 1 }, |
| 81 | + "events": { "type": "array" } |
| 82 | + } |
| 83 | + }, |
| 84 | + "reasoning_profile": { |
| 85 | + "type": "object", |
| 86 | + "required": ["activation_rules", "propagation_rules", "counterfactual_rules"], |
| 87 | + "properties": { |
| 88 | + "activation_rules": { "type": "array", "minItems": 1 }, |
| 89 | + "propagation_rules": { "type": "array", "minItems": 1 }, |
| 90 | + "counterfactual_rules": { "type": "array", "minItems": 1 } |
| 91 | + } |
| 92 | + }, |
| 93 | + "tech_space_ontology": { |
| 94 | + "$ref": "./tech-space-ontology.schema.json" |
| 95 | + }, |
| 96 | + "market_space_ontology": { |
| 97 | + "$ref": "./market-space-ontology.schema.json" |
| 98 | + }, |
| 99 | + "shared_actors": { |
| 100 | + "type": "array", |
| 101 | + "minItems": 1, |
| 102 | + "items": { "type": "string", "minLength": 1 } |
| 103 | + }, |
| 104 | + "case_package": { "type": "object" }, |
| 105 | + "scenario_id": { "type": "string", "minLength": 1 }, |
| 106 | + "name": { "type": "string", "minLength": 1 }, |
| 107 | + "time_steps": { "type": "integer", "minimum": 1 }, |
| 108 | + "seed": { "type": ["integer", "null"] }, |
| 109 | + "actors": { "type": "array", "minItems": 1 }, |
| 110 | + "capabilities": { "type": "array", "minItems": 1 } |
| 111 | + } |
| 112 | +} |
0 commit comments