|
62 | 62 | "locale": { "type": "string" }, |
63 | 63 | "format": { "type": "string" }, |
64 | 64 | "utf8": { "type": "boolean" }, |
65 | | - "stateless": { "type": "boolean" } |
| 65 | + "stateless": { "type": "boolean" }, |
| 66 | + "deprecated": { |
| 67 | + "type": "object", |
| 68 | + "properties": { |
| 69 | + "package": { "type": "string" }, |
| 70 | + "version": { "type": "string" }, |
| 71 | + "message": { "type": "string" } |
| 72 | + }, |
| 73 | + "required": ["package", "version"], |
| 74 | + "additionalProperties": false |
| 75 | + } |
66 | 76 | }, |
67 | 77 | "required": ["path"], |
68 | 78 | "additionalProperties": false |
69 | 79 | }, |
70 | 80 | "routeImport": { |
71 | 81 | "type": "object", |
72 | 82 | "properties": { |
73 | | - "resource": { "type": "string", "description": "Path to the resource to import." }, |
| 83 | + "resource": { |
| 84 | + "description": "Path to the resource to import, or an object containing 'path' and other import properties (which are merged with sibling properties).", |
| 85 | + "oneOf": [ |
| 86 | + { "type": "string" }, |
| 87 | + { |
| 88 | + "type": "object", |
| 89 | + "properties": { |
| 90 | + "path": { "type": "string" }, |
| 91 | + "type": { |
| 92 | + "type": "string", |
| 93 | + "description": "The type of the resource (e.g., 'attribute', 'yaml')." |
| 94 | + }, |
| 95 | + "prefix": { |
| 96 | + "oneOf": [ |
| 97 | + { "type": "string" }, |
| 98 | + { "type": "object", "patternProperties": { "^.+$": { "type": "string" } } } |
| 99 | + ], |
| 100 | + "description": "A URL prefix to apply to all routes from the imported resource." |
| 101 | + }, |
| 102 | + "name_prefix": { |
| 103 | + "type": "string", |
| 104 | + "description": "A name prefix to apply to all routes from the imported resource." |
| 105 | + }, |
| 106 | + "namespace": { |
| 107 | + "oneOf": [ |
| 108 | + { "type": "string" }, |
| 109 | + { "type": "object", "patternProperties": { "^.+$": { "type": "string" } }, "additionalProperties": false } |
| 110 | + ], |
| 111 | + "description": "The namespace of the controllers in the imported resource (e.g., 'App\\Controller\\Portal'). Can be a map for localized namespaces." |
| 112 | + }, |
| 113 | + "requirements": { "type": "object", "additionalProperties": { "type": "string" } }, |
| 114 | + "defaults": { "type": "object" }, |
| 115 | + "options": { "type": "object" }, |
| 116 | + "host": { |
| 117 | + "oneOf": [ |
| 118 | + { "type": "string" }, |
| 119 | + { "type": "object", "patternProperties": { "^.+$": { "type": "string" } }, "additionalProperties": false } |
| 120 | + ] |
| 121 | + }, |
| 122 | + "schemes": { |
| 123 | + "oneOf": [ |
| 124 | + { "type": "string" }, |
| 125 | + { "type": "array", "items": { "type": "string" } } |
| 126 | + ] |
| 127 | + }, |
| 128 | + "condition": { "type": "string" }, |
| 129 | + "trailing_slash_on_root": { "type": "boolean" }, |
| 130 | + "methods": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, |
| 131 | + "locale": { "type": "string" }, |
| 132 | + "format": { "type": "string" }, |
| 133 | + "utf8": { "type": "boolean" }, |
| 134 | + "exclude": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, |
| 135 | + "stateless": { "type": "boolean" }, |
| 136 | + "controller": { "type": "string" } |
| 137 | + }, |
| 138 | + "required": ["path"], |
| 139 | + "additionalProperties": false |
| 140 | + } |
| 141 | + ] |
| 142 | + }, |
74 | 143 | "type": { |
75 | 144 | "type": "string", |
76 | 145 | "description": "The type of the resource (e.g., 'attribute', 'annotation', 'yaml')." |
|
0 commit comments