--- title: formationshapelookup - X4-Schematyp summary: formationshapelookup: X4-Attributtyp: Basistypen, Einschränkungen und mögliche Werte. section: reference kind: guide status: reference updated: 2026-10-27 tags: ["XSD","schema","types"] sources: ["https://wiki.egosoft.com/X4%20Foundations%20Wiki/Modding%20Support/","https://www.w3.org/TR/xmlschema11-2/"] --- ## Bedeutung formationshapelookup: X4-Attributtyp: Basistypen, Einschränkungen und mögliche Werte. Ein XSD-Typ schränkt XML ein. Er deklariert weder einen Lua-Rückgabewert noch den Nutzdatentyp von event.param. Ein schema-konformer Wert beweist keinen erfolgreichen Spieleffekt. ## Schemastruktur `libraries/common.xsd` | Eigenschaft | Wert | | --- | --- | | Konstruktion | `union` | | Zweige der Vereinigung | [`expression`](wiki:schema-expression-b8bc0e4f) | Zusätzliche Inline-Union-Zweigstelle: | Eigenschaft | Wert | | --- | --- | | Konstruktion | `restriction` | | Basistyp | [`xs:string`](wiki:schema-xs-string-d5652e9b) | | Einschränkung | Wert | | --- | --- | | `enumeration` | `formationshape.dummy` | | `enumeration` | `formationshape.circle` | | `enumeration` | `formationshape.halfcircle` | | `enumeration` | `formationshape.invpointguard` | | `enumeration` | `formationshape.pointguard` | | `enumeration` | `formationshape.randomshape` | | `enumeration` | `formationshape.rotatingcircle` | | `enumeration` | `formationshape.singlefile` | | `enumeration` | `formationshape.vshape` | | `enumeration` | `formationshape.invvshape` | | `enumeration` | `formationshape.cross` | | `enumeration` | `formationshape.crossback` | | `enumeration` | `formationshape.crossforward` | | `enumeration` | `formationshape.xshape` | | `enumeration` | `formationshape.xshapeforward` | | `enumeration` | `formationshape.xshapeback` | | `enumeration` | `formationshape.triangle` | | `enumeration` | `formationshape.lineabreast` | | `enumeration` | `formationshape.lineastern` | | `enumeration` | `formationshape.wshape` | | `enumeration` | `formationshape.eagle` | | `enumeration` | `formationshape.twin` | | `enumeration` | `formationshape.vulcan` | | `enumeration` | `formationshape.dartvertical` | | `enumeration` | `formationshape.darthorizontal` | | `enumeration` | `formationshape.echelon` | restriction schränkt einen Basistyp ein; union erlaubt einen ihrer Typzweige; list beschreibt durch Leerraum getrennte Elemente. enumeration-Werte innerhalb einer Einschränkung sind Alternativen. pattern verwendet reguläre Ausdrücke von XML Schema, keine Lua-Muster oder JavaScript-RegExp. Geerbte Einschränkungen des Basistyps gelten weiterhin. ## Beispiel und Ergebnis Verwenden Sie die Attributseiten unten für Kontextbeispiele. Ein generisches executable Beispiel wird nicht allein aus einem Typnamen abgeleitet. ## Verwendet von | Element | Attribut | Schema | | --- | --- | --- | | [`create_formation`](wiki:api-md-create-formation-25931e66) | `formation` | `libraries/common.xsd` | [Alle Schematypen](wiki:schema-types) · [Lua- / MD-Werttypen](wiki:types)